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

Atomic Data Types

  • Orhan Gazi

摘要

In this chapter, we explain atomic data types. In the previous chapter, we explained threads, which are used for parallel processing operations. Race conditions happen if multiple threads are used in C programming. Races can be avoided using mutex functions. The alternative solution to the race problem is the use of atomic data types. Atomic data types show better performance than the use of mutex functions to avoid the race situations.