/usr/include/boost/smart_ptr/detail
NameSizeModeActions
atomic_count.hpp32320644editdlrm
atomic_count_gcc.hpp16230644editdlrm
atomic_count_gcc_atomic.hpp12770644editdlrm
atomic_count_gcc_x86.hpp17390644editdlrm
atomic_count_nt.hpp12000644editdlrm
atomic_count_pt.hpp20600644editdlrm
atomic_count_spin.hpp13060644editdlrm
atomic_count_std_atomic.hpp13490644editdlrm
atomic_count_sync.hpp14350644editdlrm
atomic_count_win32.hpp13540644editdlrm
lightweight_mutex.hpp12570644editdlrm
lightweight_thread.hpp34420644editdlrm
local_counted_base.hpp32170644editdlrm
local_sp_deleter.hpp17310644editdlrm
lwm_pthreads.hpp17530644editdlrm
lwm_std_mutex.hpp10770644editdlrm
lwm_win32_cs.hpp27960644editdlrm
operator_bool.hpp17310644editdlrm
quick_allocator.hpp51370644editdlrm
shared_count.hpp153670644editdlrm
spinlock.hpp18630644editdlrm
spinlock_gcc_arm.hpp27010644editdlrm
spinlock_gcc_atomic.hpp15190644editdlrm
spinlock_nt.hpp16260644editdlrm
spinlock_pool.hpp29540644editdlrm
spinlock_pt.hpp14740644editdlrm
spinlock_std_atomic.hpp17230644editdlrm
spinlock_sync.hpp16440644editdlrm
spinlock_w32.hpp21040644editdlrm
sp_convertible.hpp21570644editdlrm
sp_counted_base.hpp34800644editdlrm
sp_counted_base_acc_ia64.hpp34980644editdlrm
sp_counted_base_aix.hpp32700644editdlrm
sp_counted_base_cw_ppc.hpp34260644editdlrm
sp_counted_base_gcc_atomic.hpp33310644editdlrm
sp_counted_base_gcc_ia64.hpp40100644editdlrm
sp_counted_base_gcc_mips.hpp40970644editdlrm
sp_counted_base_gcc_ppc.hpp38770644editdlrm
sp_counted_base_gcc_sparc.hpp38500644editdlrm
sp_counted_base_gcc_x86.hpp39360644editdlrm
sp_counted_base_nt.hpp27330644editdlrm
sp_counted_base_pt.hpp37260644editdlrm
sp_counted_base_snc_ps3.hpp37760644editdlrm
sp_counted_base_spin.hpp30730644editdlrm
sp_counted_base_std_atomic.hpp35570644editdlrm
sp_counted_base_sync.hpp33260644editdlrm
sp_counted_base_vacpp_ppc.hpp36970644editdlrm
sp_counted_base_w32.hpp32640644editdlrm
sp_counted_impl.hpp68080644editdlrm
sp_disable_deprecated.hpp9830644editdlrm
sp_forward.hpp11800644editdlrm
sp_has_gcc_intrinsics.hpp7860644editdlrm
sp_has_sync_intrinsics.hpp18720644editdlrm
sp_interlocked.hpp65670644editdlrm
sp_noexcept.hpp11850644editdlrm
sp_nullptr_t.hpp9760644editdlrm
sp_obsolete.hpp9140644editdlrm
sp_thread_pause.hpp11010644editdlrm
sp_thread_sleep.hpp20160644editdlrm
sp_thread_yield.hpp18830644editdlrm
sp_typeinfo_.hpp11760644editdlrm
sp_win32_sleep.hpp11680644editdlrm
yield_k.hpp10910644editdlrm
Edit: /usr/include/boost/smart_ptr/detail/atomic_count_nt.hpp (1200B)
#ifndef BOOST_SMART_PTR_DETAIL_ATOMIC_COUNT_NT_HPP_INCLUDED #define BOOST_SMART_PTR_DETAIL_ATOMIC_COUNT_NT_HPP_INCLUDED // // boost/detail/atomic_count_nt.hpp // // Trivial atomic_count for the single-threaded case // // http://gcc.gnu.org/onlinedocs/porting/Thread-safety.html // // Copyright 2013 Peter Dimov // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt // #if defined(BOOST_SP_REPORT_IMPLEMENTATION) #include BOOST_PRAGMA_MESSAGE("Using single-threaded, non-atomic atomic_count") #endif namespace boost { namespace detail { class atomic_count { public: explicit atomic_count( long v ): value_( v ) { } long operator++() { return ++value_; } long operator--() { return --value_; } operator long() const { return value_; } private: atomic_count(atomic_count const &); atomic_count & operator=(atomic_count const &); long value_; }; } // namespace detail } // namespace boost #endif // #ifndef BOOST_SMART_PTR_DETAIL_ATOMIC_COUNT_NT_HPP_INCLUDED