Go to the documentation of this file. 1 #ifndef BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_AIX_HPP_INCLUDED
2 #define BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_AIX_HPP_INCLUDED
25 #include <sys/atomic_op.h>
37 fetch_and_add( pw, 1 );
44 int32_t originalValue;
47 originalValue = fetch_and_add( pw, -1 );
50 return (originalValue - 1);
58 int32_t tmp = fetch_and_add( pw, 0 );
61 if( tmp == 0 )
return 0;
135 return fetch_and_add(
const_cast<int32_t*
>(&
use_count_), 0 );
143 #endif // #ifndef BOOST_SMART_PTR_DETAIL_SP_COUNTED_BASE_AIX_HPP_INCLUDED
void atomic_increment(int *pw)
virtual void * get_untyped_deleter()=0
BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE.
int32_t compare_and_swap(int32_t *dest_, int32_t compare_, int32_t swap_)
builtin void __isync(void)
boost::core::typeinfo sp_typeinfo
virtual void * get_deleter(sp_typeinfo const &ti)=0
virtual ~sp_counted_base()
sp_counted_base & operator=(sp_counted_base const &)
int atomic_conditional_increment(int *pw)
int atomic_decrement(int *pw)
builtin void __lwsync(void)
sick_visionary_ros
Author(s): SICK AG TechSupport 3D Snapshot
autogenerated on Thu Feb 8 2024 03:48:40