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 - http://dev.opencascade.org/index.php?q=home/get_involved.
As you probably know the website dedicated to contributors is
available now: http://dev.opencascade.org.
Regards
 
 
Latest news
  • New features to enhance the development process
  • Open CASCADE Technology 6.7.1 is available for download!
  • Open CASCADE Technology 6.7.0 is available for download!

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