| << Prev | appCORE Programming Guide | Next >> |
NAME
coreThreadDetach() -- detach an attached thread from appCORE.
SYNOPSIS
include "appcore.h" int coreThreadDetach()
DESCRIPTION
The coreThreadDetach() function detaches a previously attached thread from appCORE. The thread will no longer appear in appCORE's thread list and it's thread handle shall be invalid after the call.
PARAMETERS
none
RETURN VALUE
If successful, coreThreadDetach() returns 0. On failure it returns a value of -1.
| errno Value | Condition |
| ECANCELED | The thread is either not attached or not attached via coreThreadAttach() |
MULTI-THREAD SAFETY LEVEL
MT-safe.
SEE ALSO
| << Prev | appCORE Programming Guide | Next >> |