Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To:
- Cc:
- Subject: [cgal-discuss] Re: CGAL+GMP and multithreading crash
- Date: Tue, 1 May 2012 20:00:52 +0200 (CEST)
On Tue, 1 May 2012,
wrote:
Many thanks for your response. Could you give me some quick instructions if I go and fix the reference counting mechanism e.g. pointer to some existing prototype, what support is already there and what needs to be done.
Replacing unsigned int with std::atomic_uint for the member "count" in CGAL/Handle_for.h would go a long way for Gmpq. You can try similar things in other Handle* files, Handle.h looks like it might be ok with a simple int -> std::atomic_int, Handle_with_policy would be hard. Sorry, if it was trivial it probably would have been done already.
Also, please don't send personal answers, always reply to the list.
--
Marc Glisse
- [cgal-discuss] Re: CGAL+GMP and multithreading crash, Marc Glisse, 05/01/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, Philipp Moeller, 05/01/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, Marc Glisse, 05/01/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, giannis assiouras, 05/02/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, Marc Glisse, 05/02/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, giannis assiouras, 05/04/2012
- [cgal-discuss] Re: CGAL+GMP and multithreading crash, antoine, 05/10/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, giannis assiouras, 05/02/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, Marc Glisse, 05/01/2012
- Re: [cgal-discuss] Re: CGAL+GMP and multithreading crash, Philipp Moeller, 05/01/2012
Archive powered by MHonArc 2.6.16.