Skip to content

TRTLCRITICALSECTION

A critical section.

Declaration

Source position: pmutext.inc line 35

Type
TRTLCRITICALSECTION = record
case Byte of
1: (
public
  \_\_m\_reserved : LongInt;
  \_\_m\_count : LongInt;
  \_\_m\_owner : pointer;
  \_\_m\_kind : LongInt;
  \_\_m\_lock : record
  public
    \_\_status : SizeInt;
    \_\_spinlock : LongInt;
  end;
);
end

Description

TRTLCriticalSection represents a critical section (a mutex). This is an opaque type, it can differ from operating system to operating system. No assumptions should be made about it's structure or contents.

See also

Name Description
DoneCriticalSection Clean up a critical section.
EnterCriticalSection Enter a critical section
InitCriticalSection Initialize a critical section
LeaveCriticalSection Leave a critical section