Manual cleanup flag marks a space as eligible for manual thread data cleanup.
This function should be called for every space object right after creation in
case if ODE has been initialized with @c dInitFlagManualThreadCleanup flag.
Failure to set manual cleanup flag for a space may lead to some resources
remaining leaked until the program exit.
@param space the space to modify
@param mode 1 for manual cleanup mode and 0 for default cleanup mode
@ingroup collide
@see dSpaceGetManualCleanup
@see dInitODE2
@brief Sets manual cleanup flag for a space.
Manual cleanup flag marks a space as eligible for manual thread data cleanup. This function should be called for every space object right after creation in case if ODE has been initialized with @c dInitFlagManualThreadCleanup flag.
Failure to set manual cleanup flag for a space may lead to some resources remaining leaked until the program exit.
@param space the space to modify @param mode 1 for manual cleanup mode and 0 for default cleanup mode @ingroup collide @see dSpaceGetManualCleanup @see dInitODE2