Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Atomic operation?

Definition 15.6 University Computer Science — Year 2 · Capítulo 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.

Ler no capítulo →