Re: [Boost-bugs] [Boost C++ Libraries] #3926: thread_specific_ptr + dlopen library causes a SIGSEGV.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3926: thread_specific_ptr + dlopen library causes a SIGSEGV.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-28 10:45:05


#3926: thread_specific_ptr + dlopen library causes a SIGSEGV.
-----------------------------+----------------------------------------------
  Reporter: pluto@… | Owner: anthonyw
      Type: Bugs | Status: reopened
 Milestone: Boost 1.43.0 | Component: thread
   Version: Boost 1.42.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------+----------------------------------------------

Comment (by dadrus):

 The patch provided above is not applicable on apple. At least on Mac OSX
 10.5 PTHREAD_ONCE_INIT is defined as
 {{{
 #define PTHREAD_ONCE_INIT {_PTHREAD_COND_SIG_init, {0}}
 }}}
 and not as
 {{{
 #define PTHREAD_ONCE_INIT 0
 }}}
 like on Linux, so one can not use simple compare operator.
 Here comes the patch, which works on both, linux and mac. I'm still using
 1.38 version of boost. So one has to adjust it for newer versions.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3926#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC