Re: [Boost-bugs] [Boost C++ Libraries] #3605: Boost.Asio: Static Initialization causes Deadlock during WSAStartup and other problems

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3605: Boost.Asio: Static Initialization causes Deadlock during WSAStartup and other problems
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-21 01:48:58


#3605: Boost.Asio: Static Initialization causes Deadlock during WSAStartup and
other problems
-------------------------------+--------------------------------------
  Reporter: ulrich.kroemer@… | Owner: chris_kohlhoff
      Type: Bugs | Status: reopened
 Milestone: Boost 1.41.0 | Component: asio
   Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords: deadlock asio WSAStartup
-------------------------------+--------------------------------------

Comment (by anonymous):

 Chris, could you at least consider a pre-processor define to disable the
 static init?


 {{{
 #ifndef BOOST_ASIO_NO_WINSOCKINIT
 static const winsock_init<>& winsock_init_instance =
 winsock_init<>(false);
 #endif

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3605#comment:6>
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