Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10113: [1.55] no lock-free synchronization on Solaris 10 sparcv9 (sp_counted_base.hpp)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-11 16:20:41
#10113: [1.55] no lock-free synchronization on Solaris 10 sparcv9
(sp_counted_base.hpp)
-------------------------------+-----------------------------
Reporter: anonymous | Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: lock-free sync.
-------------------------------+-----------------------------
Comment (by anonymous):
The strange thing is: when i compile and execute the test module
lockfree.cpp manually i get:
{{{
> g++ -o test -I../../../ lockfree.cpp
> ./test
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = char]'
atomic<char> is always lock free
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = short
int]'
atomic<short> is always lock free
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = int]'
atomic<int> is always lock free
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = long
int]'
atomic<long> is always lock free
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = long
long int]'
atomic<long long> is always lock free
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = void*]'
atomic<void *> is always lock free
lockfree.cpp(29): test lock_free_macro_val == lock_free_expect failed in
function: 'void verify_lock_free(const char*, int, int) [with T = bool]'
atomic<bool> is always lock free
**** 7 errors detected
}}}
So always saying "is always lock free" - but the verify_lock_free still
fails?
rgds,
Frank
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10113#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:16 UTC