Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kPeriodic_ConstructEx | ( | kPeriodic * | timer,
|  | kSize | stackSize,
|  | const kChar * | name,
|  | k32s | priority,
|  | kAlloc | allocator
| ) |  |

Constructs a kPeriodic object with additional options.

Parameters

  timer | Receives a handle to the constructed object.
  stackSize | Requested stack size, in bytes (0 for default).
  name | Descriptive name for the thread (kNULL for default).
  priority | Thread priority, relative to 0 (default).
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.