META - Setup und Cleanup the Meta Library pysq3lite … More...
Functions | |
void | Sq3Setup (void) |
setup pysq3lite internal memory … | |
void | Sq3Cleanup (void) |
cleanup pysq3lite internal memory … | |
META - Setup und Cleanup the Meta Library pysq3lite …
For details about Setup and Cleanup usage refer to MkKernel_Setup_libmkkernel_C_API
void Sq3Cleanup | ( | void | ) |
cleanup pysq3lite 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 Sq3Setup | ( | void | ) |
setup pysq3lite 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.