Read–modify–write

id: read-modify-write-283-18564754
title: Read–modify–write
text: In computer science, read–modify–write is a class of atomic operations 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. Maurice Herlihy (1991) ranks atomic operations by their consens
brand slug: wiki
category slug: encyclopedia
description: CPU instruction to simultaneously read and write a value in memory
original url: https://en.wikipedia.org/wiki/Read%E2%80%93modify%E2%80%93write
date created:
date modified: 2024-02-14T02:06:31Z
main entity: {"identifier":"Q1593306","url":"https://www.wikidata.org/entity/Q1593306"}
image:
fields total: 13
integrity: 14

Related Entries

Explore Next Part