MqMsgque PACKAGE - setup und cleanup the pymqmsgque … More...
Functions | |
void | MqSetup (void) |
setup pymqmsgque internal memory … | |
void | MqCleanup (void) |
cleanup pymqmsgque internal memory … | |
Variables | |
bool | MqCleanupActive |
signal that code was triggert by MqCleanup | |
MqMsgque PACKAGE - setup und cleanup the pymqmsgque …
For details about MqSetup and MqCleanup usage refer to MkKernel_Setup_libmkkernel_C_API
void MqCleanup | ( | void | ) |
cleanup pymqmsgque 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 MqSetup | ( | void | ) |
setup pymqmsgque 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.
|
extern |
signal that code was triggert by MqCleanup