@brief Allocate thread local data to allow the thread calling ODE.
@param uiAllocateFlags Allocation options bitmask.
@return A nonzero if allocation succeeded and zero otherwise.
The function is required to be called for every thread that is going to use
ODE. This function allocates the data that is required for accessing ODE from
current thread along with optional data required for particular ODE subsystems.
@a uiAllocateFlags parameter can contain zero or more flags from @c dAllocateODEDataFlags
enumerated type. Multiple calls with different allocation flags are allowed.
The flags that are already allocated are ignored in subsequent calls. If zero
is passed as the parameter, it means to only allocate the set of most important
data the library can not operate without.
If the function returns failure status it means that none of the requested
data has been allocated. The client may retry allocation attempt with the same
flags when more system resources are available.
@brief Allocate thread local data to allow the thread calling ODE. @param uiAllocateFlags Allocation options bitmask. @return A nonzero if allocation succeeded and zero otherwise.
The function is required to be called for every thread that is going to use ODE. This function allocates the data that is required for accessing ODE from current thread along with optional data required for particular ODE subsystems.
@a uiAllocateFlags parameter can contain zero or more flags from @c dAllocateODEDataFlags enumerated type. Multiple calls with different allocation flags are allowed. The flags that are already allocated are ignored in subsequent calls. If zero is passed as the parameter, it means to only allocate the set of most important data the library can not operate without.
If the function returns failure status it means that none of the requested data has been allocated. The client may retry allocation attempt with the same flags when more system resources are available.
@see dAllocateODEDataFlags @see dCleanupODEAllDataForThread @ingroup init