#include <sqsh_posix_private.h>
Definition at line 45 of file sqsh_posix_private.h.
◆ sqsh__threadpool_cleanup()
cleans up a threadpool.
- Parameters
-
[in] | pool | The threadpool to uclean. |
- Returns
- The threadpool on success, NULL on error.
◆ sqsh_threadpool_free()
creates a new threadpool.
- Parameters
-
[in] | pool | The threadpool to free. |
- Returns
- 0 on success, less than 0 on error.
◆ sqsh_threadpool_new()
struct SqshThreadpool * sqsh_threadpool_new |
( |
size_t | threads, |
|
|
int * | err ) |
creates a new threadpool.
- Parameters
-
[in] | threads | The number of threads to use. Use 0 to use the number of available cores. |
[out] | err | The error code. |
- Returns
- The threadpool on success, NULL on error.
◆ pool
struct CxThreadpool SqshThreadpool::pool |
The documentation for this struct was generated from the following files: