Ejemplo n.º 1
0
        /// <summary>Kills the worker threads of the scheduler one-by-one.  This
        /// should only be used with a local scheduler that is known to be
        /// idle.</summary>
        public static void Kill(Scheduler sr)
        {
            var work = new AbortWork();

            PushAll(sr, work);
        }
Ejemplo n.º 2
0
 /// <summary>Kills the worker threads of the scheduler one-by-one.  This
 /// should only be used with a local scheduler that is known to be
 /// idle.</summary>
 public static void Kill(Scheduler sr) {
   var work = new AbortWork();
   PushAll(sr, work);
 }