But while synchronization is primarily a concurrency control mechanism, transactions are primarily an exception-handling mechanism.
但是,当同步主要是并发控制的机制时,则事务主要是处理异常的机制。
While all of the lock acquisitions will be uncontended and therefore fast, the compiler can actually eliminate the synchronization entirely using lock elision.
虽然所有锁的获得都是非竞争的,所以很快,但是编译器实际上可以用锁省略把同步完全清除掉。
Synchronization has always been an indispensable part of multi-threaded programs while accessing a common resource, and logging is no exception.
在访问一个公共的资源时,同步始终是多线程程序不可缺少的部分,日志记录也不例外。
Next is a Proxy Participant, which can initiate synchronization while handling communication on behalf of another data store.
其次是代理参与者,在处理通信的时候代表另外的数据存储来启动同步。
While the target variable is guaranteed to be only assigned once, the delegate may be called by multiple concurrent threads unless a synchronization object is passed in.
这保证了目标变量只会设置一次。不过,如果没有使用同步对象的话,委托可能会被几个并发线程调用多次。
The second solution is to allow multiple thread submissions while relying on synchronization in server-side code to safeguard against race conditions.
第二个解决方案是允许多线程提交,但是依赖于服务器端代码中的同步来避免争用情况。
While that column showed how the new ReentrantLock class is a more scalable replacement for synchronization, for some problems there is an even better approach.
虽然该专栏说明了新的ReentrantLock类如何可以更可伸缩地替代同步,但是对于一些问题,还有更好的解决方法。
While you can now set broker properties through both the Configuration Manager Proxy and the mqsichangeproperties command, there are several points to bear in mind regarding synchronization.
虽然现在可以同时通过ConfigurationManagerProxy和mqsichangeproperties命令设置代理属性,但是务必牢记几个有关同步的要点。
Multiple versions of J2EE application components, such as entity beans that access the same external database, could have synchronization issues while modifying the same table or row.
不同版本的J2EE应用程序组件(例如访问相同外部数据库的实体bean)在修改相同的数据表或数据记录的时候会存在同步问题。
If it had been placed after the list of messages, and a user had deleted a message while offline, the offline server would become lost during synchronization because the list size would have changed.
如果它被放置在消息列表之后,并且用户在脱机状态下已删除了一条消息,那么脱机服务器在同步过程中将会丢失,因为列表的大小会发生变化。
While the advantage of synchronized users is obvious, you have to search for arguments for doing a lot of work to get group synchronization working.
用户同步的优势显而易见,但是要使用组同步的话,你必须搜索大量工作所需的参数。
Teaching method of process synchronization is discussed, that is teaching from easy to difficult, step by step, explaining while analyzing.
该文探讨了进程同步的教学方法,从易到难,循序渐进,边分析边讲解。
Migrating entities are beneficial to improve performance of large-scale distributed simulation systems, while time synchronization during migration is the key and difficult issue.
实体迁移技术有利于改善大规模分布式仿真系统的性能,其中迁移期间的时间同步是其关键与难点。
The number of time-hopping sequences directly determines the number of users in the communication system, while it is also a reliable guarantee of the synchronization and channel detection.
跳时序列的数目即是该通信系统中用户的数目,同时它也是整个通信系统同步与信道检测的技术上的保证。
Please don't carry out "System upgrade", "Exit" and other operations while network synchronization.
网络同步的时候不要进行“系统升级”,“退出”等操作。
Please don't carry out "System upgrade", "Exit" and other operations while network synchronization.
网络同步的时候不要进行“系统升级”,“退出”等操作。
应用推荐