Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Data race?

Definition 15.5 University Computer Science — Year 2 · Capítulo 15 — Threads and Synchronisation

Two accesses to the same memory location form a data race when they come from different threads, at least one is a write, at least one is not atomic, and nothing orders one before the other. In C and C++ a program with a data race has undefined behaviour.

Ler no capítulo →