projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-10-24 09:37:08 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
win32
/
AsyncIO.c
diff --git
a/ghc/rts/win32/AsyncIO.c
b/ghc/rts/win32/AsyncIO.c
index
acb40eb
..
12893f3
100644
(file)
--- a/
ghc/rts/win32/AsyncIO.c
+++ b/
ghc/rts/win32/AsyncIO.c
@@
-196,6
+196,9
@@
shutdownAsyncIO()
int
awaitRequests(rtsBool wait)
{
int
awaitRequests(rtsBool wait)
{
+#ifndef THREADED_RTS
+ // none of this is actually used in the threaded RTS
+
start:
#if 0
fprintf(stderr, "awaitRequests(): %d %d %d\n", issued_reqs, completed_hw, wait);
start:
#if 0
fprintf(stderr, "awaitRequests(): %d %d %d\n", issued_reqs, completed_hw, wait);
@@
-306,6
+309,7
@@
start:
LeaveCriticalSection(&queue_lock);
return 1;
}
LeaveCriticalSection(&queue_lock);
return 1;
}
+#endif /* !THREADED_RTS */
}
/*
}
/*