Re: [Boost-bugs] [Boost C++ Libraries] #11166: boost::filesystem::remove is racy

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11166: boost::filesystem::remove is racy
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-01 16:24:38


#11166: boost::filesystem::remove is racy
------------------------------------+------------------------
  Reporter: Jeff Epler <jepler@…> | Owner: bemandawes
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.57.0 | Severity: Problem
Resolution: fixed | Keywords:
------------------------------------+------------------------

Comment (by anonymous):

 I appreciate your comments about the safety of threaded code. I provided
 a threaded program for ease of reproduction, and may have not adequately
 observed threaded programming safeguards.

 In our use case, the real how-to-reproduce involves multiple processes,
 often on different systems with a networked file system, concurrently
 creating and deleting files.

 Since these activities are human driven, we can't enforce that two users
 don't both delete the same item from the filesystem at close enough to the
 same time that the cached existence in the SMB2 Client Redirector Cache
 doesn't trigger this issue.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11166#comment:5>
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:18 UTC