• sof's avatar
    [project @ 2003-07-03 15:14:56 by sof] · 18340925
    sof authored
    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.
    18340925
AsyncIO.c 6.62 KB