我们最终的内存问题是如何在线程间通信。
Our final memory problem is how to communicate between the threads.
既然锁定用于线程间通信,那么取消锁定会开启临界区,而释放锁定会结束临界区,这是行得通的。
Since locks are used for interthread communication, it makes sense that taking out a lock would start a critical region and that releasing the lock would end the critical region.
这种做法的唯一问题就是进程间通信,除此之外都比使用线程要好,因为这样的架构能更平滑地进行扩展。
The only problem with that is inter-process communication, but otherwise it is better because the architecture can grow smoother.
在这两个线程之间需要使用一种进程间通信(IPC)机制。
You will need to use an interprocess communication (IPC) mechanism between these two threads.
此事件参数必须使用线程之间的进程间通信,因此它必须是可序列。
This event argument must be used between threads in an inter communication process, and so it must be serializable .
本技术的两个主要特征是:一是编译支持的基于块的硬件并行调度器,能减少线程负荷和线程池的软件调度开销,主从结构设计使处理单元间的协作通信更有效;
The two main features are:First, design and implement a block-based hardware(?) scheduler to reduce the overhead of threads, and to get a faster communication between processing units;
本技术的两个主要特征是:一是编译支持的基于块的硬件并行调度器,能减少线程负荷和线程池的软件调度开销,主从结构设计使处理单元间的协作通信更有效;
The two main features are:First, design and implement a block-based hardware(?) scheduler to reduce the overhead of threads, and to get a faster communication between processing units;
应用推荐