Re: [Boost-bugs] [Boost C++ Libraries] #9192: condition_variable::notify_one hits debug assertion in MSVC2010

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9192: condition_variable::notify_one hits debug assertion in MSVC2010
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-07 05:13:50


#9192: condition_variable::notify_one hits debug assertion in MSVC2010
-------------------------+-------------------------------------------------
  Reporter: Richard | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be | Component: interprocess
  Determined | Severity: Problem
   Version: Boost | Keywords: condition_variable notify_one
  1.54.0 | vs2010 debug assertion
Resolution: |
-------------------------+-------------------------------------------------
Changes (by viboes):

 * component: thread => interprocess

Comment:

 I confirm that there is an issue with the "MySharedMemory" shared memory.
 Moved again to interprocess to resolve it as invalid.

 {{{
    //Erase previous shared memory and schedule erasure on exit
    struct shm_remove
    {
       shm_remove() { shared_memory_object::remove("MySharedMemory"); }
       ~shm_remove(){ shared_memory_object::remove("MySharedMemory"); }
    } remover;

    //Create a shared memory object.
    shared_memory_object shm(create_only,"MySharedMemory",read_write);
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9192#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:14 UTC