错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Exploring Synchronization and Concurrent Collections

  • Vaskaran Sarcar

摘要

In a multithreaded environment, managing the shared data is a challenging activity. This is because multiple threads may try to perform the reading and writing operations simultaneously. If you do not coordinate them, you may see erroneous outcomes. Synchronization mechanisms help you control access to shared data to avoid inconsistent or erroneous outcomes.