[project @ 2003-07-03 15:14:56 by sof]
authorsof <unknown>
Thu, 3 Jul 2003 15:14:59 +0000 (15:14 +0000)
committersof <unknown>
Thu, 3 Jul 2003 15:14:59 +0000 (15:14 +0000)
commit18340925716fb6e68672c69bd263ad9041f81822
treedf152064d139b56a4f38e9837704f630d3b03479
parent5affd8114e7ba87fa289eb72760a597456aea4cb
[project @ 2003-07-03 15:14:56 by sof]
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.
ghc/compiler/prelude/primops.txt.pp
ghc/includes/PrimOps.h
ghc/includes/TSO.h
ghc/rts/PrimOps.hc
ghc/rts/Sanity.c
ghc/rts/Schedule.c
ghc/rts/win32/AsyncIO.c
ghc/rts/win32/AsyncIO.h
ghc/rts/win32/IOManager.c
ghc/rts/win32/IOManager.h