Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Is Kd_tree construction thread safe?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Is Kd_tree construction thread safe?


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Is Kd_tree construction thread safe?
  • Date: Thu, 8 Sep 2016 19:04:52 +0200 (CEST)

On Thu, 8 Sep 2016, chrism wrote:

I would like to build a 2D CGAL::Kd_tree via parallel point-insertion. Is the
Kd_tree .insert() function thread safe?

No.

Note that the insert function only appends the point to some internal vector. The tree structure is built automatically (in a thread-safe manner) when you first perform a query.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page