diff options
Diffstat (limited to 'lib/pthreadpool/pthreadpool_sync.c')
-rw-r--r-- | lib/pthreadpool/pthreadpool_sync.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/pthreadpool/pthreadpool_sync.c b/lib/pthreadpool/pthreadpool_sync.c index a7dce580951..837abac54d7 100644 --- a/lib/pthreadpool/pthreadpool_sync.c +++ b/lib/pthreadpool/pthreadpool_sync.c @@ -71,6 +71,12 @@ int pthreadpool_add_job(struct pthreadpool *pool, int job_id, pool->signal_fn_private_data); } +size_t pthreadpool_cancel_job(struct pthreadpool *pool, int job_id, + void (*fn)(void *private_data), void *private_data) +{ + return 0; +} + int pthreadpool_destroy(struct pthreadpool *pool) { free(pool); |