sof 2003/07/03 08:14:59 PDT
Modified files: ghc/compiler/prelude primops.txt.pp ghc/includes PrimOps.h TSO.h ghc/rts PrimOps.hc Sanity.c Schedule.c ghc/rts/win32 AsyncIO.c AsyncIO.h IOManager.c IOManager.h Log: New primop (mingw only), asyncDoProc# :: Addr# -> Addr# -> State# RealWorld-> (# State# RealWorld, Int#, Int# #) which lets a Haskell thread hand off a pointer to external code (1st arg) for asynchronous execution by the RTS worker thread pool. Second arg is data passed in to the asynchronous routine. The routine is _not_ permitted to re-enter the RTS as part of its execution. Revision Changes Path 1.28 +10 -1 fptools/ghc/compiler/prelude/primops.txt.pp 1.103 +2 -1 fptools/ghc/includes/PrimOps.h 1.31 +6 -3 fptools/ghc/includes/TSO.h 1.108 +24 -2 fptools/ghc/rts/PrimOps.hc 1.34 +4 -1 fptools/ghc/rts/Sanity.c 1.171 +12 -1 fptools/ghc/rts/Schedule.c 1.3 +19 -6 fptools/ghc/rts/win32/AsyncIO.c 1.3 +1 -0 fptools/ghc/rts/win32/AsyncIO.h 1.4 +78 -22 fptools/ghc/rts/win32/IOManager.c 1.2 +28 -12 fptools/ghc/rts/win32/IOManager.h _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc