Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Spatial sorting

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Spatial sorting


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Spatial sorting
  • Date: Wed, 01 Aug 2012 19:15:54 +0200

On 08/01/2012 07:06 PM, Rafael Silva wrote:
Hi,

I'm completely new in CGAL. I'm analyzing the possibility of use CGAL
spatial sorting algorithms in a application that I'm working on, but I
need to be know how is their behavior in a multithreaded environment.

On the manual I.2.1 (Preliminaries) it says "it is not safe to access
the same object from different threads at the same time, unless
otherwise specified in the class documentation.", and I didn't found any
reference about thread safety in Spatial Sorting documentation
(XIII.64). Any chance of this module be thread-safe?

Thanks,

Rafael
According to http://www.cgal.org/releases.html

the kd-tree is thread-safe in read-only mode. If you make parallel requests on the tree this is OK.

Sebastien.



Archive powered by MHonArc 2.6.18.

Top of Page