However, these synchronization mechanisms work only within a machine, and fail to work across machines.
但是,这些同步机制只能在一台机器上起作用,而不能在在多台机器上同时起作用。
If some objects can be accessed by more than one thread, make sure member variables are protected by synchronization mechanisms.
所有全局变量都是线程安全的。如果允许一个以上线程访问全局变量,应该采用互斥之类的机制。
The reason this technique is called the "cheap read-write lock" is that you are using different synchronization mechanisms for reads and writes.
之所以将这种技术称之为 “开销较低的读-写锁” 是因为您使用了不同的同步机制进行读写操作。
Message blocks and message-passing functions let you write parallel applications without requiring synchronization mechanisms such as locks.
使用消息块和消息传递函数,无需同步机制(如锁)即可编写并行应用程序。
If you must have multiple threads manipulate the same object, you should implement the appropriate synchronization mechanisms, such as critical sections.
如果必须用多线程处理同一对象,则应该执行适当的同步机制,如临界区。
We'll conclude the chapter with a look at the synchronization mechanisms available to prevent multiple threads from viewing inconsistencies in their Shared resources.
我们将要结束这章简单的看一下在他们的共享资源中用有效的同步机制去防止来自多线程。
Also, the framework provides strong synchronization mechanisms for ensuring that changes are passed successfully between the two systems and for resolving conflicts if they occur.
同样,框架提供了功能强大的同步化机制,以确保更改在两个系统之间得到成功的传递,并在发送冲突时解决问题。
However, bear in mind the fragility of this pattern: With two competing synchronization mechanisms, this can get very tricky if you branch out beyond the most basic application of this pattern.
然而,要随时牢记这种模式的弱点:如果超越了该模式的最基本应用,结合这两个竞争的同步机制将变得非常困难。
This article explores many of the synchronization or locking mechanisms that are available in the Linux kernel.
本文讨论了Linux内核中可用的大量同步或锁定机制。
Scheduling mechanisms can't maintain the synchronization relationship among correlative streams at the network elements(NEs) today.
现有的网络元素(NE)的调度机制不能保持相关流的流间同步关系。
The synchronization problem in the receiver when the broadcaster failed was resolved, by implementing the resetting timestamp mechanisms.
针对接收组播节目过程出现的组播源故障,在同步机制中加入重置时戳机制,解决接收端同步问题。
The synchronization problem in the receiver when the broadcaster failed was resolved, by implementing the resetting timestamp mechanisms.
针对接收组播节目过程出现的组播源故障,在同步机制中加入重置时戳机制,解决接收端同步问题。
应用推荐