Re: [Boost-bugs] [Boost C++ Libraries] #6164: Add a function to dynamic_bitset to test and set

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6164: Add a function to dynamic_bitset to test and set
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-23 16:42:04


#6164: Add a function to dynamic_bitset to test and set
---------------------------------------------------------+------------------
  Reporter: Chris Kingsley <chris.kingsley@…> | Owner: jsiek
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: dynamic_bitset
   Version: Boost 1.48.0 | Severity: Optimization
Resolution: | Keywords:
---------------------------------------------------------+------------------

Comment (by Chris Kingsley <chris.kingsley@…>):

 By the way, it might be worth noting that this isn't pretending to be an
 *atomic* test and set. There are specific machine instructions that do
 test and set atomically, used for synchronization. I don't think
 dynamic_bitset should consider being used as a synchronizer, so it
 shouldn't use the slower atomic operations.

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