Zen API
 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
threadThread object.
timeoutTimeout in microseconds, or kINFINITE to wait indefinitely.
exitCodeReceives the return value from the thread function.
Returns
Operation status.