Esempio n. 1
0
 // Returns a thread-safe wrapper for a LRUMap.
 //
 public static LRUMap Synchronized(LRUMap table)
 {
     if (table == null)
     {
         throw new ArgumentNullException("table");
     }
     return(new SyncLRUMap(table));
 }
Esempio n. 2
0
			internal SyncLRUMap(LRUMap table)
			{
				_table = table;
			}
Esempio n. 3
0
		// Returns a thread-safe wrapper for a LRUMap.
		//
		public static LRUMap Synchronized(LRUMap table)
		{
			if (table == null)
			{
				throw new ArgumentNullException("table");
			}
			return new SyncLRUMap(table);
		}
Esempio n. 4
0
 internal SyncLRUMap(LRUMap table)
 {
     _table = table;
 }