Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Delaunay Triangulation Thread Safety

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Delaunay Triangulation Thread Safety


Chronological Thread 
  • 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:
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,
Clément Jamin.



Archive powered by MHonArc 2.6.18.

Top of Page