2 instantiations of ThreadLocalList
System (2)
sys\system\collections\concurrent\ConcurrentBag.cs (2)
309
list = new
ThreadLocalList
(Thread.CurrentThread);
319
list = new
ThreadLocalList
(Thread.CurrentThread);
23 references to ThreadLocalList
System (23)
sys\system\collections\concurrent\ConcurrentBag.cs (23)
65
ThreadLocal<
ThreadLocalList
> m_locals;
71
volatile
ThreadLocalList
m_headList, m_tailList;
118
m_locals = new ThreadLocal<
ThreadLocalList
>();
123
ThreadLocalList
list = GetThreadList(true);
141
ThreadLocalList
list = GetThreadList(true);
149
private void AddInternal(
ThreadLocalList
list, T item)
228
ThreadLocalList
list = GetThreadList(false);
294
private
ThreadLocalList
GetThreadList(bool forceCreate)
296
ThreadLocalList
list = m_locals.Value;
342
private
ThreadLocalList
GetUnownedList()
347
ThreadLocalList
currentList = m_headList;
386
ThreadLocalList
currentList = m_headList;
419
private bool TrySteal(
ThreadLocalList
list, out T result, bool take)
439
private bool CanSteal(
ThreadLocalList
list)
635
m_locals = new ThreadLocal<
ThreadLocalList
>();
637
ThreadLocalList
list = GetThreadList(true);
693
ThreadLocalList
currentList = m_headList;
801
ThreadLocalList
currentList = m_headList;
826
ThreadLocalList
currentList = m_headList;
846
ThreadLocalList
currentList = m_headList;
870
ThreadLocalList
currentList = m_headList;
892
ThreadLocalList
currentList = m_headList;
950
internal volatile
ThreadLocalList
m_nextList;