[project @ 2003-07-16 17:40:38 by sof]
authorsof <unknown>
Wed, 16 Jul 2003 17:40:39 +0000 (17:40 +0000)
committersof <unknown>
Wed, 16 Jul 2003 17:40:39 +0000 (17:40 +0000)
commit788897b6bdcc4d3275a7e72d501d60eddf8abe49
treec2f10542d1535f467d89c559104a0be8997720b5
parent3a3acbf43d8b4dd25ebbd22ca159481d224486bb
[project @ 2003-07-16 17:40:38 by sof]
- change prototype of async proc calls to

      typedef int (*DoProcProc)(void *param);

  i.e., have the proc return a result. Turned out that almost all
  uses of the primop ended up encoding a result via their 'param'.

- when adding new I/O requests, shorten the time the IOManager
  lock is held. Helps to keep down the size of the thread pool.
ghc/rts/win32/AsyncIO.c
ghc/rts/win32/IOManager.c
ghc/rts/win32/IOManager.h