/* ---------------------------------------------------------------------------
- * $Id: Schedule.c,v 1.171 2003/07/03 15:14:58 sof Exp $
+ * $Id: Schedule.c,v 1.173 2003/08/15 12:43:57 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
} else { /* child */
/* wipe all other threads */
- run_queue_hd = run_queue_tl = tso;
+ run_queue_hd = run_queue_tl = END_TSO_QUEUE;
tso->link = END_TSO_QUEUE;
/* When clearing out the threads, we need to ensure
goto done;
}
}
- barf("unblockThread (I/O): TSO not found");
+ barf("unblockThread (delay): TSO not found");
}
default:
goto done;
}
}
- barf("unblockThread (I/O): TSO not found");
+ barf("unblockThread (delay): TSO not found");
}
default: