Commit 024b9229 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-10-24 09:37:08 by simonmar]

Fix the build; none of this is actually used in THREADED_RTS or SMP,
but I haven't got around to fixing things so we can omit it from the
build completely yet.
parent 135776b8
...@@ -196,6 +196,9 @@ shutdownAsyncIO() ...@@ -196,6 +196,9 @@ shutdownAsyncIO()
int int
awaitRequests(rtsBool wait) awaitRequests(rtsBool wait)
{ {
#ifndef THREADED_RTS
// none of this is actually used in the threaded RTS
start: start:
#if 0 #if 0
fprintf(stderr, "awaitRequests(): %d %d %d\n", issued_reqs, completed_hw, wait); fprintf(stderr, "awaitRequests(): %d %d %d\n", issued_reqs, completed_hw, wait);
...@@ -306,6 +309,7 @@ start: ...@@ -306,6 +309,7 @@ start:
LeaveCriticalSection(&queue_lock); LeaveCriticalSection(&queue_lock);
return 1; return 1;
} }
#endif /* !THREADED_RTS */
} }
/* /*
......
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