simonmar 2004/02/26 08:17:08 PST
Modified files: (Branch: ghc-6-2-branch)
ghc/rts/win32 AwaitEvent.c
Log:
Only call abandonRequestWait() if we might have a thread waiting in
awaitRequests(). Avoids an expensive SetEvent() in the common case.
Revision Changes Path
1.2.6.3 +9 -2 fptools/ghc/rts/win32/AwaitEvent.c