Example #1
0
 private void EnqueueTile(TileSpecifier specifier)
 {
     lock (SleepingDownloads)
     {
         SleepingDownloads.Add(specifier);
     }
 }
Example #2
0
 private bool IsTileNext(TileSpecifier specifier)
 {
     lock (SleepingDownloads)
     {
         return(specifier.IsEqualTo(SleepingDownloads.Last()));
     }
 }
Example #3
0
 private void DequeueTile(TileSpecifier specifier)
 {
     lock (SleepingDownloads)
     {
         if (SleepingDownloads.Contains(specifier))
         {
             SleepingDownloads.Remove(specifier);
         }
     }
 }