Skip to content

TCriticalSection.Create

Create a new critical section.

Declaration

Source position: syncobjs.pp line 126

public 
constructor TCriticalSection.Create;

Description

Create initializes a new critical section, and initializes the system objects for the critical section. It should be created only once for all threads, all threads should use the same critical section instance.

See also

Name Description
Destroy Destroy the criticalsection instance.