Skip to content
EntityQ1593306· pop 5· linked from 33 articles

읽기-수정-쓰기

Sign in to save

In computer science, read–modify–write is a class of atomic operations (such as test-and-set, fetch-and-add, and compare-and-swap) that both read a memory location and write a new value into it simultaneously, either with a completely new value or some function of the previous value. These operations prevent race conditions in multi-threaded applications. Typically they are used to implement mutexes or semaphores. These atomic operations are also heavily used in non-blocking synchronization.

Available in 5 languages

via Wikidata sitelinks · CC0