Re: [Boost-bugs] [Boost C++ Libraries] #1634: boost::interprocess::vector cannot contain volatile int

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1634: boost::interprocess::vector cannot contain volatile int
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-08 17:24:43


#1634: boost::interprocess::vector cannot contain volatile int
------------------------------------------------+---------------------------
  Reporter: Lars Hagström <lars_at_[hidden]> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------------+---------------------------
Comment (by anonymous):

 Simply put, I use volatile ints (in fact boost::uint32_t) to atomically
 signal states between processes. There is one application that "listens"
 to events from a lot of other applications, and they signal their states
 by incrementing the volatile ints and signalling a semaphore that triggers
 the listener. The reason for volatility is the use of atomic ops, that
 need volatile ints.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1634#comment:2>
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