Setting memory manager reentrancy without environment variables

Hi,

I have a multithreaded application where I need to set the environment variable MMGT_REENTRANT=1 in order to protect the memory manager from multiple thread accesses. Is it possible to enable this at development/compile time (either with a variable in the compile environment or in code) so that the application does not need the variable in it's run environment?

Thanks in advance,
Will

Andrey Betenev's picture

Hello Will,

The option to set reentrant mode at runtime is available in the last maintenance release of Open CASCADE Technology 6.2.1 (see Release Notes at http://www.opencascade.com/pub/doc/Release_Notes_6.2.1.pdf, section "Improvements")

Best Regards,
Andrey