Replace marker with queueEmpty variable and update pool.h comment

This commit is contained in:
Stella Lau
2017-08-01 12:30:16 -07:00
parent 5adceeed01
commit 1d76da1d87
2 changed files with 15 additions and 21 deletions
-1
View File
@@ -22,7 +22,6 @@ typedef struct POOL_ctx_s POOL_ctx;
* Create a thread pool with at most `numThreads` threads.
* `numThreads` must be at least 1.
* The maximum number of queued jobs before blocking is `queueSize`.
* `queueSize` must be at least 1.
* @return : POOL_ctx pointer on success, else NULL.
*/
POOL_ctx *POOL_create(size_t numThreads, size_t queueSize);