Commit c5508be6 authored by simonmar's avatar simonmar

[project @ 2000-03-13 09:57:16 by simonmar]

Remove duplicate definition of unblockOne.
parent 3b7d8ea3
/* ---------------------------------------------------------------------------
* $Id: Schedule.c,v 1.49 2000/03/13 09:56:31 simonmar Exp $
* $Id: Schedule.c,v 1.50 2000/03/13 09:57:16 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
......@@ -1845,16 +1845,7 @@ unblockOneLocked(StgTSO *tso)
}
#endif
#if defined(GRAN)
inline StgTSO *
unblockOne(StgTSO *tso, StgClosure *node)
{
ACQUIRE_LOCK(&sched_mutex);
tso = unblockOneLocked(tso, node);
RELEASE_LOCK(&sched_mutex);
return tso;
}
#elif defined(PAR)
#if defined(PAR) || defined(GRAN)
inline StgTSO *
unblockOne(StgTSO *tso, StgClosure *node)
{
......
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