| << Prev | AppCore Programming Guide | Next >> |
NAME
corehThread() -- return current thread's handle
SYNOPSIS
include "appcore.h" corehTHR_t corehThread()
DESCRIPTION
The corehThread() function returns the current thread's handle.
PARAMETERS
NONE.
RETURN VALUE
If successful, corehThread() returns a positive number. If an error occurs, it returns a value of CORE_INVALID_HANDLE and sets errno to one of the following values:
| errno Value | Condition |
| EXXX | ERROR DESCRIPTION |
| EXXX | ERROR DESCRIPTION |
MULTI-THREAD SAFETY LEVEL
MT-safe.
SEE ALSO