Subject: CGAL users discussion list
List archive
- From: Clément Jamin <>
- To:
- Subject: Re: [cgal-discuss] Delaunay Triangulation Thread Safety
- Date: Fri, 18 Jul 2014 15:14:13 +0200
On Fri, Jul 18, 2014 at 5:34 AM, colonel_panic <> wrote:
Clément Jamin.I searched this board and there has been no mention of thread safety for some
time. Can someone give me a summary of the thread safety of the 3d
triangulations packages?
in particular, is the 3D delaunay triangulation thread safe? Im assuming
no.
Hi,
In CGAL 4.4, there is no guaranty that you can call member functions on the same instance of a triangulation in parallel. Even "read-only" functions such as incident_cells or locate are not thread-safe, since they may modify internal variables inside the triangulation (markers, caches...). Of course, concurrent insertions and/or removals are not possible.
The upcoming CGAL 4.5 will provide parallel insertion/removal of point batches in 3D Delaunay and Regular triangulations. And there will be advanced functions to perform safe single locate/insertion/removal in parallel, if you respect a few requirements. The functions will be more like try_insert, try_remove, etc.
Regards,
- [cgal-discuss] Delaunay Triangulation Thread Safety, colonel_panic, 07/18/2014
- Re: [cgal-discuss] Delaunay Triangulation Thread Safety, Laurent Rineau (CGAL/GeometryFactory), 07/18/2014
- Re: [cgal-discuss] Delaunay Triangulation Thread Safety, Clément Jamin, 07/18/2014
Archive powered by MHonArc 2.6.18.