Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

Setting occ for multithread use

Setting occ for multithread use
miha 2012/07/04 17:28
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 2012/07/04 18:14
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:
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map