Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kThread_Construct ( kThread thread,
kAlloc  allocator 
)

Constructs a kThread object.

Note that thread priorities and affinities are not in inherited from the calling thread. To specify priorty and affinity values that differ from kThread defaults, call the appropriate configuration methods before starting this thread.

Parameters
threadDestination for the constructed object handle.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.