62#ifndef JUNO_THREAD_LINUX_H
63#define JUNO_THREAD_LINUX_H
162 void *(*pfcnEntry)(
void *),
165 void *pvFailureUserData
#define JUNO_MODULE(API_T, ROOT_T,...)
Define a module union consisting of the root and all derivations.
Definition module.h:112
#define JUNO_MODULE_DERIVE(ROOT_T,...)
Implement a derived module embedding the root as the first member.
Definition module.h:161
void(* JUNO_FAILURE_HANDLER_T)(JUNO_STATUS_T tStatus, const char *pcCustomMessage, JUNO_USER_DATA_T *pvUserData)
Failure handler callback signature.
Definition status.h:110
int32_t JUNO_STATUS_T
Canonical status type for LibJuno functions.
Definition status.h:51
Thread module vtable (API struct).
Definition thread_api.h:144
Freestanding C11 interface for the LibJuno Thread module.
struct JUNO_THREAD_ROOT_TAG JUNO_THREAD_ROOT_T
Forward declaration of the Thread module root struct.
Definition thread_api.h:83
union JUNO_THREAD_TAG JUNO_THREAD_T
Forward declaration of the Thread module union. The full union body is defined in juno/thread_linux....
Definition thread_api.h:94
struct JUNO_THREAD_LINUX_TAG JUNO_THREAD_LINUX_T
Forward declaration of the Linux/POSIX derivation struct.
Definition thread_api.h:89
JUNO_STATUS_T JunoThread_LinuxInit(JUNO_THREAD_T *ptThread, void *(*pfcnEntry)(void *), void *pvArg, JUNO_FAILURE_HANDLER_T pfcnFailureHandler, void *pvFailureUserData)
Initialise a Thread module instance and immediately spawn the OS thread.
Definition linux_thread_impl.cpp:158