Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kThreadPool_Construct | ( | kThreadPool * | pool,
|  | kSize | threadCount,
|  | kAlloc | allocator
| ) |  |

Constructs a kThreadPool object.

Parameters

  pool | Destination for the constructed object handle.
  threadCount | Number of threads in the pool.
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.