Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kThreadPool_Construct ( kThreadPool pool,
kSize  threadCount,
kAlloc  allocator 
)

Constructs a kThreadPool object.

Parameters
poolDestination for the constructed object handle.
threadCountNumber of threads in the pool.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.