Re: [Boost-bugs] [Boost C++ Libraries] #8532: openssl_id_func breaks OpenSSL thread safety requirements on non-Windows platforms

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8532: openssl_id_func breaks OpenSSL thread safety requirements on non-Windows platforms
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-24 09:09:45


#8532: openssl_id_func breaks OpenSSL thread safety requirements on non-Windows
platforms
----------------------------------------+-----------------------------------
  Reporter: criticalsection@… | Owner: chris_kohlhoff
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.52.0 | Severity: Cosmetic
Resolution: invalid | Keywords: CRYPTO_set_id_callback OpenSSL ASIO "thread safety"
----------------------------------------+-----------------------------------

Comment (by anonymous):

 Sorry, I didn't notice it was thread local. As each thread has its own
 stack I guess the address of &id is guaranteed to be local.

 Perhaps, the "Ugh." comment is misleading then. It could just say 'Take
 address of location on the thread's stack that will be unique per thread".

 BTW, thanks for a great library!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8532#comment:3>
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:13 UTC