Home Units Hierarchy Routines All identifiers

Class unaInProcessGate2

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaInProcessGate2 = class(unaAbstractGate)

Description

Only one thead at a time can enter this gate. This thread can enter the gate as many times as needed. Gate will be released when thread will leave it exactly same number of times as was entered.

NOTE: Version 2.5.2010.12 - Each class derived from unaObject has improved inter-process locking methods now.

Hierarchy

Overview

Methods

Protected function gateEnter(timeout: tTimeout = tTimeout(INFINITE) ): bool; override;
Protected procedure gateLeave(); override;

Properties

Public property owningThreadId: DWORD read f_threadID;
Public property recursionLockCount: int read f_rlc;

Description

Methods

Protected function gateEnter(timeout: tTimeout = tTimeout(INFINITE) ): bool; override;
 
Protected procedure gateLeave(); override;
 

Properties

Public property owningThreadId: DWORD read f_threadID;

Owning thread ID.

Public property recursionLockCount: int read f_rlc;

Number of locks made by owning thread.

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09