Sign in Join
FPDoc Onlineexperiment

TCriticalSection.Destroy destructor

Member of TCriticalSectionpublicIn unit SyncObjs

Destroy the criticalsection instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy releases the system critical section resources, and removes the TCriticalSection instance from memory.

Errors

Any threads trying to enter the critical section when it is destroyed, will start running with an error (an exception should be raised).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.