Merge pull request #84 from aneesh-joshi/master
fix typo: `untill` -> `until`
This commit is contained in:
commit
73534f92ad
4
thpool.h
4
thpool.h
|
@ -20,7 +20,7 @@ typedef struct thpool_* threadpool;
|
||||||
/**
|
/**
|
||||||
* @brief Initialize threadpool
|
* @brief Initialize threadpool
|
||||||
*
|
*
|
||||||
* Initializes a threadpool. This function will not return untill all
|
* Initializes a threadpool. This function will not return until all
|
||||||
* threads have initialized successfully.
|
* threads have initialized successfully.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
|
@ -77,7 +77,7 @@ int thpool_add_work(threadpool, void (*function_p)(void*), void* arg_p);
|
||||||
* Smart polling is used in wait. The polling is initially 0 - meaning that
|
* Smart polling is used in wait. The polling is initially 0 - meaning that
|
||||||
* there is virtually no polling at all. If after 1 seconds the threads
|
* there is virtually no polling at all. If after 1 seconds the threads
|
||||||
* haven't finished, the polling interval starts growing exponentially
|
* haven't finished, the polling interval starts growing exponentially
|
||||||
* untill it reaches max_secs seconds. Then it jumps down to a maximum polling
|
* until it reaches max_secs seconds. Then it jumps down to a maximum polling
|
||||||
* interval assuming that heavy processing is being used in the threadpool.
|
* interval assuming that heavy processing is being used in the threadpool.
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
|
|
Loading…
Reference in New Issue