예제 #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));
 }
예제 #2
0
			internal SyncLRUMap(LRUMap table)
			{
				_table = table;
			}
예제 #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);
		}
예제 #4
0
 internal SyncLRUMap(LRUMap table)
 {
     _table = table;
 }