• sof's avatar
    [project @ 2003-07-16 17:40:38 by sof] · 788897b6
    sof authored
    - 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.
AsyncIO.c 6.66 KB