… | |
… | |
92 | |
92 | |
93 | /* stop polling if poll took longer than duration seconds */ |
93 | /* stop polling if poll took longer than duration seconds */ |
94 | void eio_set_max_poll_time (eio_tstamp nseconds); |
94 | void eio_set_max_poll_time (eio_tstamp nseconds); |
95 | /* do not handle more then count requests in one call to eio_poll_cb */ |
95 | /* do not handle more then count requests in one call to eio_poll_cb */ |
96 | void eio_set_max_poll_reqs (unsigned int nreqs); |
96 | void eio_set_max_poll_reqs (unsigned int nreqs); |
97 | /* when != 0, then eio_submit blocks as long as nready > count */ |
|
|
98 | void eio_set_max_outstanding (unsigned int maxreqs); |
|
|
99 | /* set maxinum number of idle threads */ |
|
|
100 | void eio_set_max_idle (unsigned int nthreads); |
|
|
101 | |
97 | |
102 | /* set minimum required number |
98 | /* set minimum required number |
103 | * maximum wanted number |
99 | * maximum wanted number |
104 | * or maximum idle number of threads */ |
100 | * or maximum idle number of threads */ |
105 | void eio_set_min_parallel (unsigned int nthreads); |
101 | void eio_set_min_parallel (unsigned int nthreads); |