Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Subject: Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash
- Date: Wed, 18 Jul 2012 16:02:11 +0200 (CEST)
On Mon, 16 Jul 2012, giannis assiouras wrote:
Dear Marc,
I am trying to fix the reference counting mechanism for CGAL in order to use
the library for multi-threaded applications. What I have done so far is to
use gcc atomics for the manipulation of the counter inside Handle.h and
Handle_for.h. With this solution I can get quite a good performance for my
multi-threaded application without any errors.
However, I am quite sure that there are some other parts of the code that
need to be secured like the update_exact method Lazy constructed objects.
Could you please highlight to me any other code that I need to secure in
order to make the library thread safe?
Sorry, I never performed a full audit of the library for thread-unsafe code.
Are you sure the filtered version of Simple_cartesian<mpq_class> is
not good enough for you?
Did you measure this version and find it too slow?
--
Marc Glisse
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, giannis assiouras, 07/16/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, Marc Glisse, 07/18/2012
Archive powered by MHonArc 2.6.18.