Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80966 - trunk/boost/thread/pthread
From: vicente.botet_at_[hidden]
Date: 2012-10-11 20:01:31


Author: viboes
Date: 2012-10-11 20:01:30 EDT (Thu, 11 Oct 2012)
New Revision: 80966
URL: http://svn.boost.org/trac/boost/changeset/80966

Log:
Thread: Rollback SIG_ATOMIC_MAX change for once.hpp. ref #7499
Text files modified:
   trunk/boost/thread/pthread/once.hpp | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/thread/pthread/once.hpp
==============================================================================
--- trunk/boost/thread/pthread/once.hpp (original)
+++ trunk/boost/thread/pthread/once.hpp 2012-10-11 20:01:30 EDT (Thu, 11 Oct 2012)
@@ -30,14 +30,14 @@
 
   namespace thread_detail
   {
-#ifdef SIG_ATOMIC_MAX
- typedef sig_atomic_t uintmax_atomic_t;
- #define BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_MAX_C SIG_ATOMIC_MAX
-#else
+//#ifdef SIG_ATOMIC_MAX
+// typedef sig_atomic_t uintmax_atomic_t;
+// #define BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_MAX_C SIG_ATOMIC_MAX
+//#else
     typedef unsigned long uintmax_atomic_t;
     #define BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_C2(value) value##ul
     #define BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_MAX_C BOOST_THREAD_DETAIL_UINTMAX_ATOMIC_C2(~0)
-#endif
+//#endif
   }
 
 #ifdef BOOST_THREAD_PROVIDES_ONCE_CXX11


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