Merge be0e1ca72c into fe9b8dad60
commit
7e322350a7
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue