示例#1
0
 public void InsertTask(TimerTask newTask)
 {
     // callers are synchronized
     tasks.Insert(newTask);
     Monitor.Pulse(this.syncRoot);
 }