Question d’entretien chez National Security Agency

What is a Critical Section ?

Réponse à la question d'entretien

Utilisateur anonyme

25 mai 2020

A section of code where a race condition may occur; e.g., if the code allows sync create and update, you may end up trying to update a record that does not exist yet. Try adding async controls to the critical section to prevent this from happening.

1