Example #1
0
 /// <summary>
 /// Release reader lock.
 /// </summary>
 public void ReleaseReaderLock()
 {
     lock (this)
     {
         --readingReaders;
         preferWriter = true;
         monitor.PulseAll();
     }
 }
Example #2
0
 internal static void PulseAll(Queue <LoadTask> tileLoadQueue)
 {
     wait.PulseAll();
 }