Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Data race » ?

Definition 15.5 University Computer Science — Year 2 · Chapitre 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.

Lire dans le chapitre →