Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80082 - trunk/libs/thread/src/pthread
From: vicente.botet_at_[hidden]
Date: 2012-08-19 11:41:27


Author: viboes
Date: 2012-08-19 11:41:26 EDT (Sun, 19 Aug 2012)
New Revision: 80082
URL: http://svn.boost.org/trac/boost/changeset/80082

Log:
Thread: It seems that the csignal inclusion is failing in all testers, so comment it
Text files modified:
   trunk/libs/thread/src/pthread/once.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/thread/src/pthread/once.cpp
==============================================================================
--- trunk/libs/thread/src/pthread/once.cpp (original)
+++ trunk/libs/thread/src/pthread/once.cpp 2012-08-19 11:41:26 EDT (Sun, 19 Aug 2012)
@@ -14,7 +14,7 @@
 {
     namespace detail
     {
- BOOST_THREAD_DECL thread_detail::uintmax_atomic_t once_global_epoch=BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_C(~0);
+ BOOST_THREAD_DECL thread_detail::uintmax_atomic_t once_global_epoch=BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_MAX_C;
         BOOST_THREAD_DECL pthread_mutex_t once_epoch_mutex=PTHREAD_MUTEX_INITIALIZER;
         BOOST_THREAD_DECL pthread_cond_t once_epoch_cv = PTHREAD_COND_INITIALIZER;
 
@@ -63,7 +63,7 @@
             {
                 data=malloc(sizeof(thread_detail::uintmax_atomic_t));
                 BOOST_VERIFY(!pthread_setspecific(epoch_tss_key,data));
- *static_cast<thread_detail::uintmax_atomic_t*>(data)=BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_C(~0);
+ *static_cast<thread_detail::uintmax_atomic_t*>(data)=BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_MAX_C;
             }
             return *static_cast<thread_detail::uintmax_atomic_t*>(data);
         }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk