Update thpool.h
This commit is contained in:
parent
0e7dc83bf6
commit
011b2688bf
6
thpool.h
6
thpool.h
|
@ -12,7 +12,7 @@
|
|||
typedef struct thpool_* threadpool;
|
||||
|
||||
|
||||
/* =========================== FUNCTIONS ============================ */
|
||||
/* =================================== API ======================================= */
|
||||
|
||||
|
||||
/**
|
||||
|
@ -24,8 +24,8 @@ typedef struct thpool_* threadpool;
|
|||
* @example
|
||||
*
|
||||
* ..
|
||||
* threadpool thpool; //First we declare a threadpool
|
||||
* thpool = thpool_init(4); //then we initialize it to 4 threads
|
||||
* threadpool thpool; //First we declare a threadpool
|
||||
* thpool = thpool_init(4); //then we initialize it to 4 threads
|
||||
* ..
|
||||
*
|
||||
* @param num_threads number of threads to be created in the threadpool
|
||||
|
|
Loading…
Reference in New Issue