Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] Is Kd_tree construction thread safe?
- Date: Thu, 8 Sep 2016 20:15:28 +0200 (CEST)
On Thu, 8 Sep 2016, chrism wrote:
Alright, good to know.
Is there any way to insert the points into the kD tree in a multi-threaded
fashion?
You can always protect each insertion with a lock...
What are you trying to achieve exactly? It sounds like it would be easier to push your points to some thread-safe container during the multi-threaded part of your program, then have a single-threaded section where you copy the container to the kd_tree.
--
Marc Glisse
- [cgal-discuss] Is Kd_tree construction thread safe?, chrism, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, Marc Glisse, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, chrism, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, Marc Glisse, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, Chris Marsh, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, Marc Glisse, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, chrism, 09/08/2016
- Re: [cgal-discuss] Is Kd_tree construction thread safe?, Marc Glisse, 09/08/2016
Archive powered by MHonArc 2.6.18.