Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kPeriodic_Construct ( kPeriodic timer,
const kChar name,
kAlloc  allocator 
)

Constructs a kPeriodic object.

Unique names should be assigned to threads in order to aid debugging. Note that some operating systems restrict name lengths to only a few characters (e.g., Linux: 16).

Parameters
timerReceives a handle to the constructed object.
nameDescriptive name for the thread (kNULL for default).
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.