Revision c4d9d196 include/block/thread-pool.h
b/include/block/thread-pool.h | ||
---|---|---|
31 | 31 |
ThreadPool *thread_pool_new(struct AioContext *ctx); |
32 | 32 |
void thread_pool_free(ThreadPool *pool); |
33 | 33 |
|
34 |
BlockDriverAIOCB *thread_pool_submit_aio(ThreadPoolFunc *func, void *arg, |
|
35 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
36 |
int coroutine_fn thread_pool_submit_co(ThreadPoolFunc *func, void *arg); |
|
37 |
void thread_pool_submit(ThreadPoolFunc *func, void *arg); |
|
34 |
BlockDriverAIOCB *thread_pool_submit_aio(ThreadPool *pool, |
|
35 |
ThreadPoolFunc *func, void *arg, |
|
36 |
BlockDriverCompletionFunc *cb, void *opaque); |
|
37 |
int coroutine_fn thread_pool_submit_co(ThreadPool *pool, |
|
38 |
ThreadPoolFunc *func, void *arg); |
|
39 |
void thread_pool_submit(ThreadPool *pool, ThreadPoolFunc *func, void *arg); |
|
38 | 40 |
|
39 | 41 |
#endif |
Also available in: Unified diff