Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
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.

Parameters
lockFxLock callback function
unlockFxUnlock callback function.
providerContext pointer (provided to callback functions).
Returns
Operation status.