• Since both the garbage collector thread and the writer thread can try to modify the global list at the same time, some kind of locking mechanism also has to be used.

    因为垃圾收集器线程写入者线程可能同时尝试修改全局列表所以同样需要使用某种锁定机制

    youdao

  • It implements List and is thread-safe, but its iterators will not throw ConcurrentModificationException and do not require any additional locking during traversal.

    实现了List而且线程安全的,但是迭代器不会抛出ConcurrentModificationException,遍历期间要求额外的锁定

    youdao

  • This addresses the data race, but has further costs for concurrency, since locking the entire list while iterating could block other threads from accessing the list for a long time.

    这样做虽然解决数据争用问题但是并发性方面付出更多代价因为迭代期间锁住整个list阻塞其他线程,使它们在很长段时间内不能访问这个列表

    youdao

  • The locking problems normally indicate some fairly significant concurrency problems in the application that should be dealt with before the lock list parameter is increased.

    锁定问题通常表明应用程序中存在一些相当严重并发性问题,增大列表参数的值之前应当解决这些问题

    youdao

  • Locking occurs on two levels (see Listing 7) : The list has a read-write lock, while individual nodes contain a mutex.

    两个级别上执行锁定(清单7):读写各个节点包含一个互斥锁。

    youdao

  • Locking occurs on two levels (see Listing 7) : The list has a read-write lock, while individual nodes contain a mutex.

    两个级别上执行锁定(清单7):读写各个节点包含一个互斥锁。

    youdao

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

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

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