public static void WakeupKeeperThread(string KeeperThreadName) { if (KeeperThreadName == "") { throw new ArgumentException(); } KThread b = null; lock (dicThread) { if (!dicThread.ContainsKey(KeeperThreadName)) { return; } b = dicThread[KeeperThreadName]; } b.Wakeup(); }