Pergunta de entrevista da empresa National Security Agency

What is a Critical Section ?

Resposta da entrevista

Sigiloso

25 de mai. de 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