91 if (next._lockID == lockID)
330 if ((
num3 & -8388608) == -8388608)
373 if (!flag && ((uint)
num3 & 0
x800u) != 0 && (
num3 & -8388608) == 8388608)
866 long num = (long)
timeout.TotalMilliseconds;
static int CurrentManagedThreadId
static string ReaderWriterLock_NotOwner
static string Overflow_UInt16
static string ReaderWriterLock_Timeout
static string ReaderWriterLock_InvalidLockCookie
static string ArgumentOutOfRange_TimeoutMilliseconds
static string ReaderWriterLock_RestoreLockWithOwnedLocks
static int CompareExchange(ref int location1, int value, int comparand)
static int Add(ref int location1, int value)
static int Increment(ref int location)
ReaderWriterLockApplicationException(SerializationInfo info, StreamingContext context)
ReaderWriterLockApplicationException(int errorHResult, string message)
static ThreadLocalLockEntry GetOrCreateCurrentSlow(long lockID, ThreadLocalLockEntry headEntry)
static ThreadLocalLockEntry GetOrCreateCurrent(long lockID)
static ThreadLocalLockEntry t_lockEntryHead
ThreadLocalLockEntry _next
static ThreadLocalLockEntry GetCurrent(long lockID)
ThreadLocalLockEntry(long lockID)
static ApplicationException GetNotOwnerException()
static readonly int DefaultSpinCount
static long s_mostRecentLockID
static ApplicationException GetTimeoutException()
static int GetCurrentThreadID()
static int ToTimeoutMilliseconds(TimeSpan timeout)
void AcquireReaderLock(TimeSpan timeout)
void RestoreLock(ref LockCookie lockCookie)
LockCookie UpgradeToWriterLock(TimeSpan timeout)
void RecoverLock(ref LockCookie lockCookie, LockCookieFlags flags)
AutoResetEvent TryGetOrCreateWriterEvent()
void AcquireWriterLock(int millisecondsTimeout)
bool AnyWritersSince(int seqNum)
AutoResetEvent _writerEvent
void AcquireWriterLock(TimeSpan timeout)
AutoResetEvent GetOrCreateWriterEvent()
static ApplicationException GetInvalidLockCookieException()
ManualResetEventSlim _readerEvent
ManualResetEventSlim TryGetOrCreateReaderEvent()
void DowngradeFromWriterLock(ref LockCookie lockCookie)
static ArgumentOutOfRangeException GetInvalidTimeoutException(string parameterName)
static bool YieldProcessor()
ManualResetEventSlim GetOrCreateReaderEvent()
LockCookie UpgradeToWriterLock(int millisecondsTimeout)
void AcquireReaderLock(int millisecondsTimeout)
static void Sleep(int millisecondsTimeout)
static void SpinWait(int iterations)