diff --git a/src/pthread_pool.c b/src/pthread_pool.c index 2fa3966..2bb7b20 100644 --- a/src/pthread_pool.c +++ b/src/pthread_pool.c @@ -28,7 +28,7 @@ static void *callback_proxy(void *arg); /* * push the thread into the pool * parameters: - * thread:the thread will push into the poolbool + * thread:the thread will push into the pool * return: * 0:success * >0 : fail @@ -203,7 +203,7 @@ int threadpool_run(callback func,void *arg) pthread_mutex_unlock(&pool->mutex_locker); return result; - return 0; + } int threadpool_free()