Zen API
|
kStatus kApiLib_SetSymbolLockHandlers | ( | kApiLockFx | lockFx, |
kApiUnlockFx | unlockFx, | ||
kPointer | provider | ||
) |
Sets handler functions for symbol table lock/unlock operations.
In debug builds, kApiLib may access the debug symbols associated with this process. On some platforms (e.g., Windows) the symbol table is a global resource that is not automatically thread-safe. This function can be used to provide callback functions to mediate access to the symbol table.
This function is not thread-safe and should be called before calling kApiLib_Construct.
lockFx | Lock callback function |
unlockFx | Unlock callback function. |
provider | Context pointer (provided to callback functions). |