Re: [Boost-bugs] [Boost C++ Libraries] #1667: Using managed_shared_memory condition variables on Win32 can lead to deadlock on crash

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1667: Using managed_shared_memory condition variables on Win32 can lead to deadlock on crash
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-03-03 19:10:14


#1667: Using managed_shared_memory condition variables on Win32 can lead to
deadlock on crash
--------------------------------------+-------------------------------------
  Reporter: joe1chen_at_[hidden] | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: Boost 1.36.0 | Component: interprocess
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: invalid | Keywords:
--------------------------------------+-------------------------------------
Changes (by igaztanaga):

  * status: new => closed
  * resolution: => invalid

Comment:

 The possibility of deadlock is inherent to the use of process-shared
 resources. The same can happen for inter-thread mutexes if a thread dies.
 Some operating systems can unlock the mutex if the process holding the
 mutex dies but in that case, the data to be protected to the mutex is
 likely to be corrupted.

 POSIX does not mandate any deadlock so in many operating systems we'll get
 deadlocks even if using native mutexes and condition variables.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1667#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:49:57 UTC