Boost logo

Boost-Commit :

From: anthony_at_[hidden]
Date: 2007-10-26 05:53:10


Author: anthonyw
Date: 2007-10-26 05:53:10 EDT (Fri, 26 Oct 2007)
New Revision: 40477
URL: http://svn.boost.org/trac/boost/changeset/40477

Log:
disable_cancellation and restore_cancellation need to be declared BOOST_THREAD_DECL to work with DLLs with pthread-win32
Text files modified:
   trunk/boost/thread/pthread/thread.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/pthread/thread.hpp
==============================================================================
--- trunk/boost/thread/pthread/thread.hpp (original)
+++ trunk/boost/thread/pthread/thread.hpp 2007-10-26 05:53:10 EDT (Fri, 26 Oct 2007)
@@ -197,7 +197,7 @@
 
     namespace this_thread
     {
- class disable_cancellation
+ class BOOST_THREAD_DECL disable_cancellation
         {
             disable_cancellation(const disable_cancellation&);
             disable_cancellation& operator=(const disable_cancellation&);
@@ -209,7 +209,7 @@
             ~disable_cancellation();
         };
 
- class restore_cancellation
+ class BOOST_THREAD_DECL restore_cancellation
         {
             restore_cancellation(const restore_cancellation&);
             restore_cancellation& operator=(const restore_cancellation&);


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