LcConfig PACKAGE - setup library and Programming-Language-Micro-Kernel (PLMK) … More...
Typedefs | |
typedef void(* | LcSetupThreadF) (MK_RT mkrt) |
prototype of the runtime-callback … | |
Functions | |
void | LcSetup (void) |
setup tcllcconfig internal memory … | |
void | LcCleanup (void) |
cleanup tcllcconfig internal memory … | |
void | LcSetupThreadCallback (LcSetupThreadF call) |
callback used to register a new runtime … | |
LcConfig PACKAGE - setup library and Programming-Language-Micro-Kernel (PLMK) …
For details about Setup and Cleanup usage refer to MkKernel_Setup_libmkkernel_C_API
typedef void( * LcSetupThreadF) (MK_RT mkrt) |
prototype of the runtime-callback …
Definition at line 489 of file LibLcConfig_lc.h.
void LcCleanup | ( | void | ) |
cleanup tcllcconfig internal memory …
Cleanup will only be recognized once and will be ignored if not called in the same thread as Setup. After a call to Setup the call to MkCleanup is possible again.
gcc: __attribute__ ((cleanup(XXX)))
is called when unloading the library.void LcSetup | ( | void | ) |
setup tcllcconfig internal memory …
Setup will only be recognized once, additional call's will be ignored until a Cleanup is called.
gcc: __attribute__ ((constructor(XXX)))
is called when loading the library.dlopen
and additionally uses threads, a manual call to Setup very early at startup is required to enforce the correct order of type declarations. void LcSetupThreadCallback | ( | LcSetupThreadF | call | ) |
callback used to register a new runtime …
read more at: MkRuntimeCallbackAdd