HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_DSOInfo Class Reference

#include <UT_DSOVersion.h>

Public Attributes

bool loadGlobal
 

Detailed Description

Definition at line 26 of file UT_DSOVersion.h.

Member Data Documentation

bool UT_DSOInfo::loadGlobal

Linux only: Set to true if this DSO should be loaded with RTLD_GLOBAL. Note that this will mean that your DSO is dlclose()'ed, and then re-dlopen()'ed.

If set to true, then HoudiniDSOInit will be called again after the DSO is re-openend. The UT_DSOInfo struct will have its loadGlobal member set to true.

Warning
If you set loadGlobal to true, make sure to only register callbacks inside HoudiniDSOInit() when it is called the second time where dsoinfo.loadGlobal is already set to true. Otherwise, Houdini will end up with stale pointers to the initial dlclose()'ed instance of your shared DSO.

Definition at line 45 of file UT_DSOVersion.h.


The documentation for this class was generated from the following file: