ThreadGate Methods |
The ThreadGate type exposes the following members.
Name | Description | |
---|---|---|
![]() | BarEntry |
Bar entry of the thread gate by other threads, but do not wait
for the gate to close.
|
![]() | Close |
Close the thread gate.
|
![]() | DecrementThreadLocalCount |
Decrement the long value of the LocalDataStoreSlot for the
current thread by one.
|
![]() | Destroy |
Destroy the thread gate.
|
![]() | DoWait |
Wait up to the specified number of milliseconds for notification.
|
![]() | Enter |
Enter the thread gate.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Exit |
Exit the gate.
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetThreadLocalCount |
Obtain the long value stored in the LocalDataStoreSlot.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IncrementThreadLocalCount |
Increment the long value from the LocalDataStoreSlot for
the current thread by one.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Open |
After entry into the ThreadGate is restricted by a call to
BarEntry() or Close(), it can be re-opened by calling this
method.
|
![]() | SetThreadLocalCount |
Set the long value to be stored in the LocalDataStoreSlot.
|
![]() | ToString |
Provide a human-readable representation of this ThreadGate.
(Overrides ObjectToString.) |
![]() | UpdateStatus |
Update the current thread gate status, without changing the
active count.
|