示例#1
0
 public void AddRegular(IReadWriteTask task)
 {
     lock (mutex)
     {
         regularReadWriteTasks.Add(task);
     }
 }
示例#2
0
 public void Add(IReadWriteTask task)
 {
     lock (mutex)
     {
         nextReadWriteTasks.Add(task);
     }
 }