System.Collections.Concurrent.ConcurrentBag.ReleaseAllLocks()

Here are the examples of the csharp api class System.Collections.Concurrent.ConcurrentBag.ReleaseAllLocks() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: referencesource
Source File: ConcurrentBag.cs
private void UnfreezeBag(bool lockTaken)
        {
            ReleaseAllLocks();
            m_needSync = false;
            if (lockTaken)
            {
                Monitor.Exit(GlobalListsLock);
            }
        }