cvs commit: fptools/ghc/rts/win32 AwaitEvent.c

Simon Marlow simonmar at glass.cse.ogi.edu
Thu Feb 26 08:17:08 EST 2004


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


More information about the Cvs-ghc mailing list