C or C++ : Block critical section
Classification
CWE CWE-667Overview
Calls to blocking functions (for example: sleep, getc, fgets, read, recv
etc.) inside a critical section can lead to bad perfomance or even deadlock.
Calls to blocking functions (for example: sleep, getc, fgets, read, recv
etc.) inside a critical section can lead to bad perfomance or even deadlock.