摘要
在多平台操作系统下,共享内存的实现存在一些差异,在程序设计中通常依靠条件编译来实现,导致软件耦合性太强,不利于扩充。该文结合设计模式中的桥接模式,提出了一种支持多操作系统平台的共享内存程序设计方案改进的新方法。
In a multi-platform operating system,there are some differences on the realization of shared memory,conditional compilation method usually used in software design,which lead to software high coupling,and it is not conducive to expansion.In this paper,the bridge design patterns,a multi-operating system platform,the new and improved method of shared memory module design.In this paper,combined with bridge design patterns,a new and improved method of shared memory program de sign is innovated to support multiple operating system platforms.
作者
唐燕
韩爱庆
TANG Yan,HAN Ai-qing(Information Center,Beijing University of Chinese Medicine,Beijing 100029,China)
出处
《电脑知识与技术》
2012年第11期7592-7596,共5页
Computer Knowledge and Technology
关键词
多平台
共享内存
桥接模式
multi-platform
shared memory
bridge design patterns