Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Atomic operation?

Definition 15.6 University Computer Science — Year 2 · Hoofdstuk 15 — Threads and Synchronisation

An operation is atomic when no other thread can observe it half done: it takes effect as one indivisible step of every interleaving. atomic_fetch_add(&x, 1) reads, adds and writes as one step.

Lees in het hoofdstuk →