mirror of
https://github.com/Pithikos/C-Thread-Pool
synced 2024-11-21 21:21:23 +03:00
docs: fix simple typo, successs -> success
There is a small typo in thpool.h. Should read `success` rather than `successs`.
This commit is contained in:
parent
66fae216b7
commit
3d8745b98c
2
thpool.h
2
thpool.h
@ -62,7 +62,7 @@ threadpool thpool_init(int num_threads);
|
|||||||
* @param threadpool threadpool to which the work will be added
|
* @param threadpool threadpool to which the work will be added
|
||||||
* @param function_p pointer to function to add as work
|
* @param function_p pointer to function to add as work
|
||||||
* @param arg_p pointer to an argument
|
* @param arg_p pointer to an argument
|
||||||
* @return 0 on successs, -1 otherwise.
|
* @return 0 on success, -1 otherwise.
|
||||||
*/
|
*/
|
||||||
int thpool_add_work(threadpool, void (*function_p)(void*), void* arg_p);
|
int thpool_add_work(threadpool, void (*function_p)(void*), void* arg_p);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user