Click or drag to resize

BlockingTryEnterUpgradeableReadLock Method (ReaderWriterLockSlim, TimeSpan)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Tries to enter the lock in upgradeable mode, with an optional time-out while still respecting the calling thread's ThreadTimeout.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static bool TryEnterUpgradeableReadLock(
	ReaderWriterLockSlim rwLock,
	TimeSpan span
)

Parameters

rwLock
Type: System.ThreadingReaderWriterLockSlim
The lock.
span
Type: SystemTimeSpan
The maximum interval to wait, or -1 milliseconds to wait indefinitely.

Return Value

Type: Boolean
true if the calling thread entered upgradeable mode, otherwise, false.
See Also