Commit 45ee5a69 authored by panne's avatar panne

[project @ 2003-10-05 20:18:36 by panne]

Unbreak the 2nd stage of non-threaded-RTS builds by #ifdefing out a
call to wakeBlockedWorkerThread. This should probably fixed more
cleanly by taking an OO view, i.e. always defining this function, but
doing nothing in the non-threaded case. The final decision on this
issue is left to the Masters of the Threads (tm)...
parent 049481ee
/* --------------------------------------------------------------------------- /* ---------------------------------------------------------------------------
* $Id: Schedule.c,v 1.178 2003/10/01 21:16:12 wolfgang Exp $ * $Id: Schedule.c,v 1.179 2003/10/05 20:18:36 panne Exp $
* *
* (c) The GHC Team, 1998-2000 * (c) The GHC Team, 1998-2000
* *
...@@ -3141,7 +3141,9 @@ interruptStgRts(void) ...@@ -3141,7 +3141,9 @@ interruptStgRts(void)
{ {
interrupted = 1; interrupted = 1;
context_switch = 1; context_switch = 1;
#ifdef RTS_SUPPORTS_THREADS
wakeBlockedWorkerThread(); wakeBlockedWorkerThread();
#endif
} }
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment