Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Thread safety in CGAL AABB tree

Subject: CGAL users discussion list

List archive

[cgal-discuss] Thread safety in CGAL AABB tree


Chronological Thread 
  • From: gupta61 <>
  • To:
  • Subject: [cgal-discuss] Thread safety in CGAL AABB tree
  • Date: Thu, 3 Sep 2015 09:44:19 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:j/8iGB/ZtMwgpP9uRHKM819IXTAuvvDOBiVQ1KB91eocTK2v8tzYMVDF4r011RmSDdmds64P0rKP+4nbGkU+or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuStKU15j8jrjrs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYjdt6qZ8FCP2yP/9gFf0LRAghZms67cmuuRjYRhaU/VMdVH8Xm1xGGVvr9hb/C5jsqjfz6LM1jDGbLNDtTb8pQSirqaxqVh7soCgCPj89tmrQj5oj3+pgvBu9qkkmkMbva4aPOa8lJvvQ

Hi,

I am trying to use a method from the AABB tree. The exact method is

CGAL_AABB_Tree_Point_and_primitive_id pt_and_primit =
aabb_tree_cr_surf.closest_point_and_primitive(
iset::ConcRigArr1dToCGALPoint3( glPnt ) );

where glPnt is some CGAL Point in 3D. I was wondering if this method is
thread safe. When I try to run this right now, I get the following error,

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe84d1700 (LWP 21805)]
0x00000000007447a4 in CGAL::Handle::~Handle (this=0x7fffb0004330) at
/home/gupta61/SetSolver_hg_checkin_heatFluid_office/CGAL-4.4/include/CGAL/Handle.h:63
63 delete PTR;

I was wondering if you had any recommendation on how to use the AABB tree in
a parallel setting with thread safety. Thanks.

Regards,
Piyush Gupta




-----
Piyush Gupta
UIUC
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Thread-safety-in-CGAL-AABB-tree-tp4661127.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page