通道总是在以下两个进程间同步:阅读器和写入器。
A channel always synchronizes between just two processes: the reader and the writer.
通道不是进程间同步的惟一可用选择,也不总是最合适的选择。
Channels aren't the only available option for synchronization between processes, nor are they always the most appropriate.
用于进程间同步的数据结构。信号灯常常由操作系统提供。
A data structure that is used for intertask synchronization. Semaphores are usually provided by the operating system.
因此,通过采用一个同步模型,就可以实现进程间通信。
Thus, by sticking to a synchronous model, interprocess communication can be achieved.
这一设计明显的缺点是所有的进程都能访问帧缓冲,所以很容易导致显示问题,而且在不同应用程序间的同步绘图十分困难。
The obvious disadvantage to this was that all processes had access to the frame buffer, so could corrupt the display easily and synchronizing drawing between applications was very difficult.
这样,PTHREAD _ PROCESS_SHARED和进程间POSIX同步原语可以被实现,而且现在可用。
Thus, PTHREAD_PROCESS_SHARED and interprocess POSIX synchronization primitives can be implemented and are now available.
有名事件对象用来在进程之间进行同步,而在Linux中,pthreads和POSIX都提供了线程间的同步功能。
Named event objects are provided to provide synchronization between the processes, but in Linux, both the pthreads and POSIX provides synchronization between threads.
应用程序中使用进程间通信(Inter Process Communication,IPC)机制来在应用程序各个组件之间同步各种事件。
The Inter Process Communication (IPC) mechanism is used in the application for synchronization of the various events across components of the application.
桌面显然需要进程间通信(例如,要使应用程序之间的数据和设置同步),但这与组件嵌入无关。
A desktop obviously needs interprocess communication (for example, to synchronize data and Settings between applications), but this is independent from component embedding.
该策略不会产生多米诺效应且不需要记录任何进程间消息,缩短了进程阻塞消息发送时间,且检查点生成过程中使进程得以同步,因此算法具有较好性能。
The strategy can avoid domino effect and log message between processes, which makes the blocking message-sending time shorter, and synchronizes processes in the process of checkpointing.
本书详细说明了内部处理技术、进程间控制以及通过信号、分支进程和共享内存进行同步的方法。
The book has explained that the inside handles a technology, the course room controls and memory carries out synchro method by the signal, branch course and share detailedly.
本书详细说明了内部处理技术、进程间控制以及通过信号、分支进程和共享内存进行同步的方法。
The book has explained that the inside handles a technology, the course room controls and memory carries out synchro method by the signal, branch course and share detailedly.
应用推荐