Re: [Boost-bugs] [Boost C++ Libraries] #3531: initial_path is not thread-safe

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3531: initial_path is not thread-safe
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-19 09:14:39


#3531: initial_path is not thread-safe
--------------------------+-------------------------------------------------
 Reporter: andysem | Owner: bemandawes
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: filesystem
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: initial_path |
--------------------------+-------------------------------------------------

Comment(by andysem):

 The suggested solution would be to create a single global variable in the
 Boost.Filesystem dll, and initialize it of the application startup. On
 platforms that do not syncronize threads during dll loading (are there
 any?) one could use call_once from Boost.Thread and initialize it
 similarly (on the application startup).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3531#comment:1>
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:01 UTC