public void AddWork (Task t) { // Add to the shared work pool workQueue.TryAdd (t); // Wake up some worker if they were asleep PulseAll (); }