Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## Namespace: OtlSync
Unit globals OtlSync

public unit globals OtlSync

Field Summary
`internal integer` | `CASAlignment`
`internal IOmniCancellationToken` | `GOmniCancellationToken`

Method Summary
`public function boolean` | `CAS(oldValue: NativeInt; newValue: NativeInt; destination: )`
`public function boolean` | `CAS(oldValue: pointer; newValue: pointer; destination: )`
`public function boolean` | `CAS(oldData: pointer; oldReference: NativeInt; newData: pointer; newReference: NativeInt; destination: )`
`public function boolean` | `CAS16(oldValue: word; newValue: word; destination: )`
`public function boolean` | `CAS32(oldValue: cardinal; newValue: cardinal; destination: )`
`public function boolean` | `CAS32(oldValue: pointer; newValue: pointer; destination: )`
`public function boolean` | `CAS64(oldData: int64; newData: int64; destination: )`
`public function boolean` | `CAS8(oldValue: byte; newValue: byte; destination: )`
`public function IOmniCancellationToken` | `CreateOmniCancellationToken()`
`public function IOmniCountdownEvent` | `CreateOmniCountdownEvent(Count: Integer; SpinCount: Integer; AShareLock: IOmniCriticalSection )`
`public function IOmniCriticalSection` | `CreateOmniCriticalSection()`
`public function IOmniEvent` | `CreateOmniEvent(AManualReset: boolean; InitialState: boolean; AShareLock: IOmniCriticalSection )`
`public function IOmniResourceCount` | `CreateResourceCount(initialCount: integer)`
`public function int64` | `GetCPUTimeStamp()`
`public function NativeInt` | `GetThreadId()`
`public Sub` | `MFence()`
`public Sub` | `Move128(Source: ; Destination: )`
`public Sub` | `Move64(Source: ; Destination: )`
`public Sub` | `Move64(newData: pointer; newReference: cardinal; Destination: )`
`public Sub` | `MoveDPtr(Source: ; Destination: )`
`public Sub` | `MoveDPtr(newData: pointer; newReference: NativeInt; Destination: )`
`public Sub` | `NInterlockedExchangeAdd(addend: ; value: NativeInt)`
`public function boolean` | `SetEvent(event: TOmniTransitionEvent )`
`public function boolean` | `WaitForAllObjects(handles: array of THandle; timeout_ms: cardinal)` Waits on any number of handles.
`public Sub` | `WaitForCallback(Context: Pointer; TimerOrWaitFired: Boolean)`

Field Detail

### CASAlignment

    internal CASAlignment: integer

Const
  False

Type
  integer

### GOmniCancellationToken

    internal GOmniCancellationToken: IOmniCancellationToken

Const
  False

Type
  IOmniCancellationToken

Method Detail

### CAS

    public function CAS(oldValue: NativeInt; newValue: NativeInt; destination: ): boolean

Returns
  boolean

### CAS

    public function CAS(oldValue: pointer; newValue: pointer; destination: ): boolean

Returns
  boolean

### CAS

    public function CAS(oldData: pointer; oldReference: NativeInt; newData: pointer; newReference: NativeInt; destination: ): boolean

Returns
  boolean

### CAS16

    public function CAS16(oldValue: word; newValue: word; destination: ): boolean

Returns
  boolean

### CAS32

    public function CAS32(oldValue: cardinal; newValue: cardinal; destination: ): boolean

Returns
  boolean

### CAS32

    public function CAS32(oldValue: pointer; newValue: pointer; destination: ): boolean

Returns
  boolean

### CAS64

    public function CAS64(oldData: int64; newData: int64; destination: ): boolean

Returns
  boolean

### CAS8

    public function CAS8(oldValue: byte; newValue: byte; destination: ): boolean

Returns
  boolean

### CreateOmniCancellationToken

    public function CreateOmniCancellationToken(): IOmniCancellationToken

Returns
  IOmniCancellationToken

### CreateOmniCountdownEvent

    public function CreateOmniCountdownEvent(Count: Integer; SpinCount: Integer; AShareLock: IOmniCriticalSection ): IOmniCountdownEvent

Returns
  IOmniCountdownEvent

### CreateOmniCriticalSection

    public function CreateOmniCriticalSection(): IOmniCriticalSection

Returns
  IOmniCriticalSection

### CreateOmniEvent

    public function CreateOmniEvent(AManualReset: boolean; InitialState: boolean; AShareLock: IOmniCriticalSection ): IOmniEvent

Returns
  IOmniEvent

### CreateResourceCount

    public function CreateResourceCount(initialCount: integer): IOmniResourceCount

Returns
  IOmniResourceCount

### GetCPUTimeStamp

    public function GetCPUTimeStamp(): int64

Returns
  int64

### GetThreadId

    public function GetThreadId(): NativeInt

Returns
  NativeInt

### MFence

    public procedure MFence()

### Move128

    public procedure Move128(Source: ; Destination: )

### Move64

    public procedure Move64(Source: ; Destination: )

### Move64

    public procedure Move64(newData: pointer; newReference: cardinal; Destination: )

### MoveDPtr

    public procedure MoveDPtr(Source: ; Destination: )

### MoveDPtr

    public procedure MoveDPtr(newData: pointer; newReference: NativeInt; Destination: )

### NInterlockedExchangeAdd

    public procedure NInterlockedExchangeAdd(addend: ; value: NativeInt)

### SetEvent

    public function SetEvent(event: TOmniTransitionEvent ): boolean

Returns
  boolean

### WaitForAllObjects

    public function WaitForAllObjects(handles: array of THandle; timeout_ms: cardinal): boolean

summary
  Waits on any number of handles.

returns
  True on success, False on timeout.

Returns
  boolean

### WaitForCallback

    public procedure WaitForCallback(Context: Pointer; TimerOrWaitFired: Boolean)

Association Link

to Interface IOmniCancellationToken

Supplier
  IOmniCancellationToken

Directed
  False

Client
  GOmniCancellationToken

Type
  association

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD