基于DLL的安全的多线程串行通信编程研究 |
| |
引用本文: | 刘立国,和晓军.基于DLL的安全的多线程串行通信编程研究[J].河南科学,2003,21(6):790-794. |
| |
作者姓名: | 刘立国 和晓军 |
| |
作者单位: | 沈阳工业学院信息分院,辽宁沈阳,110016 |
| |
摘 要: | 操作系统分时多任务功能的实现,提高了系统资源的利用率,也带来了进程互斥与同步等方面的复杂性。基于实际生产系统,阐述了一种使用标志位区分地址和数据流,利用进程间互斥和进程内多线程同步技术,实现具有进程安全性的串行通信编程的方法。
|
关 键 词: | 串行通信 进程 多线程 DLL 同步和互斥 |
文章编号: | 1004-3918(2003)06-0790-05 |
修稿时间: | 2003年6月1日 |
Based DLL safe programming study of the multiple thread serial communication system |
| |
Abstract: | It improves the using efficiency of the system resource greatly by the realization of the operating system′s timeshare and mutil task function. On the other hand, it also causes the software complexity in mutex and synchronization, etc. Basing on actual producing system, with the help of the symbol method to differentiate the stream of address or data, the mutex between processes and the synchronization between the multiple thread of a process, this article provides a way in software to program safely for the serial communication system. |
| |
Keywords: | serial communication process multiple thread DLL synchronization and mutex |
本文献已被 CNKI 维普 万方数据 等数据库收录! |
|