Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.

Responsive image


Fetch-and-add

In computer science, the fetch-and-add (FAA) CPU instruction atomically increments the contents of a memory location by a specified value.

That is, fetch-and-add performs the following operation: increment the value at address x by a, where x is a memory location and a is some value, and return the original value at x.

in such a way that if this operation is executed by one process in a concurrent system, no other process will ever see an intermediate result.

Fetch-and-add can be used to implement concurrency control structures such as mutex locks and semaphores.


Previous Page Next Page






Fetch-and-add Catalan Fetch-and-add German Fetch-and-add French フェッチ・アンド・アッド Japanese 페치와 추가 Korean Fetch-and-add Polish Fetch-and-add Chinese

Responsive image

Responsive image