7 references to GlobalQueuesLock
System.Collections.Concurrent (7)
System\Collections\Concurrent\ConcurrentBag.cs (7)
127lock (GlobalQueuesLock) // necessary to update _workStealingQueues, so as to synchronize with freezing operations 149Debug.Assert(Monitor.IsEntered(GlobalQueuesLock)); 315Debug.Assert(Monitor.IsEntered(GlobalQueuesLock)); 611Debug.Assert(!Monitor.IsEntered(GlobalQueuesLock)); 612Monitor.Enter(GlobalQueuesLock, ref lockTaken); 638Debug.Assert(Monitor.IsEntered(GlobalQueuesLock) == lockTaken); 652Monitor.Exit(GlobalQueuesLock);