Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Is snap_rounding_2 operation thread safe?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Is snap_rounding_2 operation thread safe?


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Is snap_rounding_2 operation thread safe?
  • Date: Tue, 14 Jun 2016 10:13:31 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:QAVOdBPP1fFLxB3nFnUl6mtUPXoX/o7sNwtQ0KIMzox0KPv5rarrMEGX3/hxlliBBdydsKIVzbqM+Pm6AyQp2tWojjMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpQAbFhi3DwdpPOO9QteU1JTmkbDosMSJOU1hv3mUX/BbFF2OtwLft80b08NJC50a7V/3mEZOYPlc3mhyJFiezF7W78a0+4N/oWwL46pyv50IbaKvdKsxSflUDS8tLnsuzMztrxjKCwWVtVUGVWBD2D5BHhLI6g2yZJb3vyLn/qpW9wC+euL7SrU5RS6zwa5gVBjymWZNf2o9+XzNh8psyrhaph+oujR0zIfQJoaPO6wtLevmYdoGSD8ZDY5qXCtbD9bkYg==
  • Organization: GeometryFactory

Le Tuesday 14 June 2016 08:48:30 Sebastien Loriot a écrit :
> This will be fixed as soon as https://github.com/CGAL/cgal/pull/648
> will be ready.

That PR is actually ready to be tested, but its impact on performances is too
high (30% slower, if I remember well).

I stopped working on it by lack of time, but I would like to remove the need
for a lock on `Lazy_rep::approx()` by using atomics instead.

And there is also the idea from Marc Glisse that maybe we can manage to make
it work lock-free.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page