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-02-14 06:54:26
#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
---------------------------------------+------------------------------------
Changes (by anonymous):
* status: closed => reopened
* version: Boost 1.45.0 => Boost 1.53.0
* resolution: wontfix =>
Comment:
Replying to [comment:3 chris_kohlhoff]:
> Thanks for the additional info. However, please see comment 1.
Your comment 1 is wrong.
As long as the line
static const winsock_init<>& winsock_init_instance =
winsock_init<>(false);
in winsock_init.hpp exists, there is no way to manage the winsock
initialization.
Please make the winsock initialization managable by the user of asio. The
static initialization within DllMain is wrong.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3605#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:12 UTC