1 instantiation of ThreadLocalLockEntry
System.Threading (1)
System\Threading\ReaderWriterLock.cs (1)
1327
entry = new
ThreadLocalLockEntry
(lockID);
32 references to ThreadLocalLockEntry
System.Threading (32)
System\Threading\ReaderWriterLock.cs (32)
56
ThreadLocalLockEntry
? threadLocalLockEntry =
ThreadLocalLockEntry
.GetCurrent(_lockID);
82
ThreadLocalLockEntry
threadLocalLockEntry =
ThreadLocalLockEntry
.GetOrCreateCurrent(_lockID);
452
ThreadLocalLockEntry
? threadLocalLockEntry =
ThreadLocalLockEntry
.GetCurrent(_lockID);
686
ThreadLocalLockEntry
? threadLocalLockEntry =
ThreadLocalLockEntry
.GetCurrent(_lockID);
772
ThreadLocalLockEntry
threadLocalLockEntry =
ThreadLocalLockEntry
.GetOrCreateCurrent(_lockID);
890
ThreadLocalLockEntry
? threadLocalLockEntry =
ThreadLocalLockEntry
.GetCurrent(_lockID);
920
if (_writerID == threadID ||
ThreadLocalLockEntry
.GetCurrent(_lockID) != null)
953
ThreadLocalLockEntry
threadLocalLockEntry =
ThreadLocalLockEntry
.GetOrCreateCurrent(_lockID);
994
ThreadLocalLockEntry
? threadLocalLockEntry =
ThreadLocalLockEntry
.GetCurrent(_lockID);
1208
private static
ThreadLocalLockEntry
? t_lockEntryHead;
1211
private
ThreadLocalLockEntry
? _next;
1223
private static void VerifyNoNonemptyEntryInListAfter(long lockID,
ThreadLocalLockEntry
afterEntry)
1228
for (
ThreadLocalLockEntry
? currentEntry = afterEntry._next;
1236
public static
ThreadLocalLockEntry
? GetCurrent(long lockID)
1240
ThreadLocalLockEntry
? headEntry = t_lockEntryHead;
1241
for (
ThreadLocalLockEntry
? currentEntry = headEntry; currentEntry != null; currentEntry = currentEntry._next)
1255
public static
ThreadLocalLockEntry
GetOrCreateCurrent(long lockID)
1259
ThreadLocalLockEntry
? headEntry = t_lockEntryHead;
1269
private static
ThreadLocalLockEntry
GetOrCreateCurrentSlow(long lockID,
ThreadLocalLockEntry
? headEntry)
1275
ThreadLocalLockEntry
? entry = null;
1276
ThreadLocalLockEntry
? emptyEntryPrevious = null;
1277
ThreadLocalLockEntry
? emptyEntry = null;
1286
for (
ThreadLocalLockEntry
? previousEntry = headEntry, currentEntry = headEntry._next;