pull/2/merge
Veklip 2015-09-05 14:18:24 +00:00
commit 7e322350a7
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ static void *callback_proxy(void *arg);
/* /*
* push the thread into the pool * push the thread into the pool
* parameters: * parameters:
* thread:the thread will push into the poolbool * thread:the thread will push into the pool
* return: * return:
* 0:success * 0:success
* >0 : fail * >0 : fail
@ -203,7 +203,7 @@ int threadpool_run(callback func,void *arg)
pthread_mutex_unlock(&pool->mutex_locker); pthread_mutex_unlock(&pool->mutex_locker);
return result; return result;
return 0;
} }
int threadpool_free() int threadpool_free()