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)); 321Debug.Assert(Monitor.IsEntered(GlobalQueuesLock)); 617Debug.Assert(!Monitor.IsEntered(GlobalQueuesLock)); 618Monitor.Enter(GlobalQueuesLock, ref lockTaken); 644Debug.Assert(Monitor.IsEntered(GlobalQueuesLock) == lockTaken); 658Monitor.Exit(GlobalQueuesLock);