… | |
… | |
330 | unsigned int eio_npending (void); /* number of finished but unhandled requests */ |
330 | unsigned int eio_npending (void); /* number of finished but unhandled requests */ |
331 | unsigned int eio_nthreads (void); /* number of worker threads in use currently */ |
331 | unsigned int eio_nthreads (void); /* number of worker threads in use currently */ |
332 | |
332 | |
333 | /*****************************************************************************/ |
333 | /*****************************************************************************/ |
334 | /* convenience wrappers */ |
334 | /* convenience wrappers */ |
|
|
335 | /* these do not expose advanced syscalls and directory fds */ |
335 | |
336 | |
336 | #ifndef EIO_NO_WRAPPERS |
337 | #ifndef EIO_NO_WRAPPERS |
337 | eio_req *eio_wd_open (const char *path, int pri, eio_cb cb, void *data); /* result=wd */ |
338 | eio_req *eio_wd_open (const char *path, int pri, eio_cb cb, void *data); /* result=wd */ |
338 | eio_req *eio_wd_close (eio_wd wd, int pri, eio_cb cb, void *data); |
339 | eio_req *eio_wd_close (eio_wd wd, int pri, eio_cb cb, void *data); |
339 | eio_req *eio_nop (int pri, eio_cb cb, void *data); /* does nothing except go through the whole process */ |
340 | eio_req *eio_nop (int pri, eio_cb cb, void *data); /* does nothing except go through the whole process */ |