Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] CGAL+GMP and multithreading crash
- Date: Wed, 24 Jun 2009 18:12:50 +0200
- Organization: INRIA
torchi borchi wrote:
i followed your suggestion and tried this:
typedef CGAL::Gmpq RT;
typedef CGAL::Simple_cartesian<RT> K;
but it still crashes. is Gmpq using reference counting?
Yes, it uses the same thread-unsafe mechanism.
i need exact constructions.
Try mpq_class instead of Gmpq ?
Or Quotient<MP_Float>, but that can be much slower.
Otherwise, someone needs to bite the bullet and fix
the reference counting mechanism (in <CGAL/Handle_for.h>).
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [cgal-discuss] CGAL+GMP and multithreading crash, torchi.b, 06/24/2009
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, Sylvain Pion, 06/24/2009
- <Possible follow-up(s)>
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, torchi borchi, 06/24/2009
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, Sylvain Pion, 06/24/2009
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, Torchi Borchi, 06/24/2009
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, Sylvain Pion, 06/25/2009
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, Torchi Borchi, 06/24/2009
- Re: [cgal-discuss] CGAL+GMP and multithreading crash, Sylvain Pion, 06/24/2009
Archive powered by MHonArc 2.6.16.