help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes] Reference for unit 'syncobjs' (#fcl)

TCriticalSection.Destroy

Destroy the criticalsection instance

Declaration

Source position: syncobjs.pp line 47

public destructor TCriticalSection.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

Create

  

Create a new critical section.

Acquire

  

Enter the critical section

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505