摘要
进程间通讯是大规模软件开发中不能回避的问题。声卡模式自动切换系统用于实现X-Fi声卡在相关应用程序启动和退出时自动地切换到相应的声音模式以发挥最好的声音效果,为此声卡模式自动切换系统中的监控程序需要同被它监视的应用程序之间交换相关数据并实施同步。文中通过声卡模式自动切换系统详细介绍了Windows操作系统中的内存映射文件、互斥、事件等进程间通讯机制和及其在使用中需要注意的问题。
The IPC(interprocess communication) is the avoidless issue in the large scale software development. The sound card auto mode switcher is used for X - Fi sound blaster to achieve the best sound effects by automatically switch its mode to the corresponding mode when its associated applications launched and closed. Thus, the monitor program of sound card auto mode switcher need to exchange its data to its associated applications and synchronize to its associated applications. Combines the real case of sound card auto mode switcher to analyse common IPC mechanism in Windows OS and describes problems that should be paid attention to in application.
出处
《计算机技术与发展》
2007年第9期192-195,202,共5页
Computer Technology and Development
基金
安徽省高校学科拔尖人才基金(05025102)
安徽省自然科学基金(050420204)