KeyedSignalTKey, TResultTrySignal Method
Tries to signal all current waiters for key with result.
New waiters added after this call for same key will await a subsequent signal/fail.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.170 -- Release Build+c182f6ab0de7d8c2535312827c244b8c677ffdd5
public bool TrySignal(
TKey key,
TResult result
)
Public Function TrySignal (
key As TKey,
result As TResult
) As Boolean
public:
bool TrySignal(
TKey key,
TResult result
)
function TrySignal(key, result);
- key TKey
- Key to signal.
- result TResult
- Result to signal to all waiters.
Booleantrue if the signal was successful; otherwise,
false if there were no waiters for the key.