Re: [Boost-bugs] [Boost C++ Libraries] #10616: tagged_ptr assumes zero leading bits

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10616: tagged_ptr assumes zero leading bits
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-20 04:33:45


#10616: tagged_ptr assumes zero leading bits
-------------------------------+--------------------------
  Reporter: nyh@… | Owner: timblechmann
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lockfree
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------

Comment (by timblechmann):

 as a workaround, you can try to configure the queue to use array indices
 instead of pointers ...

 for OSv one could either provide a separate version of
 tagged_ptr_ptrcompression or to use tagged_ptr instead of
 tagged_ptr_ptrcompression. this will require a cmpxchg16b instruction,
 though.

 i don't have access to OSv, but i'd happily accept a patch!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10616#comment:3>
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:17 UTC