摘要
分析了UNIX/LINUX平台常用的多计算任务并发中的任务间通信的手段,针对其在任务间需要大量数据通信情况下的效率问题,提出了利用多线程及其同步机制来实现多计算任务的并发处理。结合一个分布式电网监控系统通信程序的实例阐述了其完整过程。
Analyzes some communication measures usually used in interprocess on UNIX/LINUX platform. For their low efficiency in frequent data communication among multitasks,brought forward a measure that use multithreads and its synchronization technique to realize the multitask concurrently process. It's proved by experiments that this method resolved this type of problem finely.An example is given to show the whole routine of multithread and synchronization control in the distributed power network monitoring system.
出处
《微机发展》
2003年第4期11-13,16,共4页
Microcomputer Development