struct TSimpleCriticalSection;
Enables threads in a multithreaded application a single-thread only exclusive execution of a part of the code.
The record needs to be initialized with a call to init. The order in which the threads will pass is not deterministic.
Methods
| Name | Description |
|---|---|
| Enter | Enter the critical section. |
| Init | Initializes the critical section, if the constructor was not used. |
| Leave | Leave the critical section. |
| TryEnter | Enter the critical section. |