Click or drag to resize

ThreadGateEnter Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Enter the thread gate.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual bool Enter(
	long millis
)

Parameters

millis
Type: SystemInt64
Maximum number of milliseconds to wait; pass -1 for forever or 0 for no wait.

Return Value

Type: Boolean
true iff the calling thread successfully entered the gate.

Implements

GateEnter(Int64)
Remarks
A thread uses this method to obtain non-exclusive access to the resource represented by the thread gate. Each invocation of this method must ultimately have a corresponding invocation of the Exit method.
See Also