Destroy the criticalsection instance.
Source position: syncobjs.pp line 88
public destructor TCriticalSection.Destroy; override; |
Destroy releases the system critical section resources, and removes the TCriticalSection instance from memory.
Any threads trying to enter the critical section when it is destroyed, will start running with an error (an exception should be raised).
|
Create a new critical section. |
|
|
Enter the critical section. |