Namespace: OtlSync

Record TOmniCS


public record TOmniCS

summary
Simple critical section wrapper. Critical section is automatically
initialised on first use.

Property Summary
  public  integer LockCount
 
  public  TSynchroObject SyncObj
 
 

Method Summary
  public Sub Acquire()
 
  internal function integer GetLockCount()
 
  internal function TSynchroObject GetSyncObj()
 
  public Sub Initialize()
 
  public Sub Release()
 
 

Property Detail

LockCount

public LockCount: integer
Type
integer
Class
False
Access
read

SyncObj

public SyncObj: TSynchroObject
Type
TSynchroObject
Class
False
Access
read

Method Detail

Acquire

public procedure Acquire()
Reintroduce
False
Class
False

GetLockCount

internal function GetLockCount(): integer
Reintroduce
False
Returns
integer
Class
False

GetSyncObj

internal function GetSyncObj(): TSynchroObject
Reintroduce
False
Returns
TSynchroObject
Class
False

Initialize

public procedure Initialize()
Reintroduce
False
Class
False

Release

public procedure Release()
Reintroduce
False
Class
False

Association Link

to Interface IOmniCriticalSection

Supplier
IOmniCriticalSection
Directed
False
Client
ocsSync
Type
association