Setting occ for multithread use

I am using OCE 0.9.1 binaries for MSVC 2010 SP1 for my cad program. I have a function that gets run from 4 different threads in parallel. This function uses BRepAlgoAPI_Fuse & BRepAlgoAPI_Cut that cause data race (or not). I have a few questions:

1. Do I have to recompile the libraries with set MMGT_OPT=0 option?
2. Where do I use Standard::SetReentrant(true)?

Just any tips how this is done will help. ty

Forum supervisor's picture

Dear miha,
Unfortunately Boolean operations still are not thread safe.
Although we are working on it. You are also welcome to develop
a corresponding patch and make a contribution via the Collaborative
portal -
As you probably know the website dedicated to contributors is
available now: