diff --git a/src/pthread_pool.c b/src/pthread_pool.c index 5fe228b..2bb7b20 100644 --- a/src/pthread_pool.c +++ b/src/pthread_pool.c @@ -203,7 +203,7 @@ int threadpool_run(callback func,void *arg) pthread_mutex_unlock(&pool->mutex_locker); return result; - return 0; + } int threadpool_free()