Beispiel #1
0
 private void EnqueueTile(TileSpecifier specifier)
 {
     lock (SleepingDownloads)
     {
         SleepingDownloads.Add(specifier);
     }
 }
Beispiel #2
0
 private void RequeueTile(TileSpecifier specifier)
 {
     lock (SleepingDownloads)
     {
         if (SleepingDownloads.Contains(specifier))
         {
             SleepingDownloads.Remove(specifier);
             SleepingDownloads.Add(specifier);
         }
     }
 }