Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kThread_Join | ( | kThread | thread,
|  | k64u | timeout,
|  | kStatus * | exitCode
| ) |  |

Blocks until the thread exits, or until a timeout occurs.

Parameters

  thread | Thread object.
  timeout | Timeout in microseconds, or kINFINITE to wait indefinitely.
  exitCode | Receives the return value from the thread function.

Returns
  Operation status.