Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kThreadId kThread_Id ( kThread  thread)

Gets a unique identifier representing the thread.

This field is only valid after the thread has been successfully started, and before the thread has been successfully joined. Otherwise, the value returned by this method is undefined.

Parameters
threadThread object.
Returns
Unique thread identifier; see note on validity.