• wait释放对象线程等待

    Object.wait releases the object lock and the thread waits.

    youdao

  • 对于协同工作出现冲突问题,提出对象区域并用的解决方式

    We present a manner of excluding collisions in the collaborative working process by using both the object lock and the region lock.

    youdao

  • 如果能够做到一点,线程代码非常高效的,并且不会占用宝贵的互斥对象

    If you can do this, your threaded code will be really efficient and it won't tie up valuable mutex locks.

    youdao

  • 某个线程获得银器对象时,就可以通过检查变量判断是否整个银器集合中的对象锁获得。

    After the silverware lock is acquired, a thread could examine variables to see if a complete set of silverware is available.

    youdao

  • 猜测由于实现比较保守,根据不同条件(比如对象数据大小其他OS特定特性)及早地关掉了它。

    My guess is that it is implemented very conservatively and disabled early based on various conditions like lock object data size and OS specific features.

    youdao

  • IDS允许应用程序开发人员放在不同对象上,数据库以及索引

    IDS allows application developers to place locks on different objects, like databases, tables, pages or rows, and indexes.

    youdao

  • 同步代码执行之前需要客户对象相关

    This synchronized code block acquires the lock associated with the customer class object before it executes.

    youdao

  • 对象是从这个高速缓存末端分配不必获取因此效率非常高。

    A new object is allocated from the end of this cache without the need to grab the heap lock, so it is very efficient.

    youdao

  • 就像规范要求的那样,优先线程(优先级p3)获取对象一个高优先级(优先级p1)的线程夺取执行权。

    A low priority thread (at priority P3) acquires the lock on an object and is pre-empted by a higher priority thread (at priority P1), as the specification mandates.

    youdao

  • DB 2使用数据库对象来确保事务一致性

    DB2 ensures transaction consistency using locks on database objects.

    youdao

  • 最后认识激活省略似乎对象数据大小关系

    Finally I came to recognize that there seems to be some relation between the enabling of lock elision and the data size of the locked object.

    youdao

  • 本文中将学习如何使用Boostipc实现共享内存对象消息队列同步文件

    In this article, you learn how to use the Boost IPC library to implement Shared memory objects, message queues, and synchronized file locking.

    youdao

  • 到了Version8,load工具本身放置因而可以运行数据加载操作的同时,对相同空间中的其他对象进行并发访问

    As of Version 8, the load utility places locks on the table itself, and you can enjoy concurrent access to other table objects in the same table Spaces while a data load operation is running.

    youdao

  • 一方面,我们希望分配太多对象特别是在ConcurrentDictionary最后存储很少项目的时候。

    On the other hand, we don't want to allocate too many lock objects, especially if the ConcurrentDictionary only ends up storing only a small number of items.

    youdao

  • 例如如果对象类别Object搜索代码引用可能容易。

    For example, if the lock object is of class object, it may not be easy to search the code for references to it.

    youdao

  • 进入关键部分之前,调用ReentrantLock对象lock方法尝试获得

    Before entering the critical section, the lock method of the ReentrantLock object is invoked to try and obtain the lock.

    youdao

  • 如果被占有,调用Dequeue FromPool方法中检索对象

    If the lock is held, the DequeueFromPool method is called to retrieve an object from the pool.

    youdao

  • 这样分组能够帮助程序员发现一个ConcurrentHashMap对象发生严重的竞争

    This grouping of locks helps programmers identity which ConcurrentHashMap object has the most serious JUC lock contentions.

    youdao

  • 如果互斥对象当前处于状态,那么获得并且函数返回

    If the mutex is currently unlocked you'll get the lock, and this function will return zero.

    youdao

  • 如果同一个对象上,自刚刚成功过,并且持有线程正在运行中,那么自旋很有可能再次成功

    If spinning succeeded on that same lock object in the recent history and the thread holding the lock is running, then spinning is likely to succeed again.

    youdao

  • 多个控制线程可以同时在队列添加数据删除数据,所以需要互斥对象管理同步

    Multiple threads of control can simultaneously try to push data to the queue or remove data, so you need a mutex object to manage the synchronization.

    youdao

  • 通过保持较浅层次结构可以定最少量对象能够影响大量的需要调整优先级线程

    By keeping lock hierarchies shallow, which translates to locking as few objects as possible, you can affect the maximum number of threads that need to be priority adjusted.

    youdao

  • 发生这种情况时,没有获得线程置于对象用者一个逻辑队列中。

    When this happens, the thread failing to acquire the lock is put into a logical queue of lock contenders for the object.

    youdao

  • 粗化就是使用同一对象相邻同步合并过程

    Lock coarsening is the process of merging adjacent synchronized blocks that use the same lock object.

    youdao

  • P1线程需要同一个对象但是P3线程释放之前,P1无法得到

    The P1 thread then needs the same object but cannot acquire the lock until the P3 thread has released it.

    youdao

  • 释放以后,系统争用者最高优先队列前端选择线程,以便试图对象

    When a lock is released, the system chooses the thread from the front of the highest-priority queue of contenders to try to lock the object.

    youdao

  • 需要64个字节持有某个对象这个对象上,没有持有其它

    64 bytes are required to hold a lock on an object that has no other locks held on it.

    youdao

  • 需要32个字节记录某个对象这个对象上,已经持有一个

    32 bytes are required to record a lock on an object that has an existing lock held on it.

    youdao

  • 因此相对并发我们采用二重并发循环数组(dual concurrent lock circular arrays),这样无需创建对象就能享受到阻塞并发带来好处

    So for example, instead of concurrent linked lists, we use dual concurrent lock circular arrays, so we have the benefits of non blocking concurrency without object creation.

    youdao

  • 因此相对并发我们采用二重并发循环数组(dual concurrent lock circular arrays),这样无需创建对象就能享受到阻塞并发带来好处

    So for example, instead of concurrent linked lists, we use dual concurrent lock circular arrays, so we have the benefits of non blocking concurrency without object creation.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定