Replace marker with queueEmpty variable and update pool.h comment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user