Commit 0504641e authored by simonmar's avatar simonmar
Browse files

[project @ 2004-03-01 13:34:54 by simonmar]

Warning police, and omit a useless debugging msg in !RTS_SUPPORTS_THREADS.
parent 59a8549c
......@@ -137,6 +137,9 @@ static Capability *returning_capabilities;
threaded RTS, clients must use waitFor*Capability()).
------------------------------------------------------------------------- */
#if defined(RTS_SUPPORTS_THREADS)
static
#endif
void
grabCapability( Capability** cap )
{
......@@ -152,7 +155,9 @@ grabCapability( Capability** cap )
free_capabilities = (*cap)->link;
rts_n_free_capabilities--;
#endif
#if defined(RTS_SUPPORTS_THREADS)
IF_DEBUG(scheduler, sched_belch("worker: got capability"));
#endif
}
/* ----------------------------------------------------------------------------
......
Supports Markdown
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