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 ValueCondition
EXXXERROR DESCRIPTION
EXXXERROR DESCRIPTION

MULTI-THREAD SAFETY LEVEL

MT-safe.


SEE ALSO

Functions:
coreThreadStart() coreThreadStop() coreThreadStopJoin() coreThreadAttach() coreThreadDettach() coreThreadSocketAdd() coreThreadSocketRemove()