KeyedSignalTKey, TResultSignal Method

Signals all current waiters for key with result. New waiters added after this call for same key will await a subsequent signal/fail.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.167 -- Release Build+6c665d9111cb5e0fc32e9aa6c693dcb89c216eb7
public int Signal(
	TKey key,
	TResult result
)

Parameters

key  TKey
Key to signal.
result  TResult
Result to signal to all waiters.

Return Value

Int32
The number of waiters released.

Exceptions

ObjectDisposedExceptionThrown if the instance has been disposed.

See Also