Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52455 - in sandbox/task/boost/task: . detail
From: oliver.kowalke_at_[hidden]
Date: 2009-04-17 15:59:59


Author: olli
Date: 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
New Revision: 52455
URL: http://svn.boost.org/trac/boost/changeset/52455

Log:
* BOOST_TASK_DECL introduced

Text files modified:
   sandbox/task/boost/task/default_pool.hpp | 3 ++-
   sandbox/task/boost/task/detail/callable.hpp | 3 ++-
   sandbox/task/boost/task/detail/guard.hpp | 4 +++-
   sandbox/task/boost/task/detail/interrupter.hpp | 4 +++-
   sandbox/task/boost/task/detail/semaphore_posix.hpp | 4 +++-
   sandbox/task/boost/task/detail/semaphore_windows.hpp | 4 +++-
   sandbox/task/boost/task/detail/worker.hpp | 3 ++-
   sandbox/task/boost/task/detail/worker_group.hpp | 3 ++-
   sandbox/task/boost/task/detail/wsq.hpp | 3 ++-
   sandbox/task/boost/task/poolsize.hpp | 4 +++-
   sandbox/task/boost/task/scanns.hpp | 4 +++-
   sandbox/task/boost/task/watermark.hpp | 6 ++++--
   12 files changed, 32 insertions(+), 13 deletions(-)

Modified: sandbox/task/boost/task/default_pool.hpp
==============================================================================
--- sandbox/task/boost/task/default_pool.hpp (original)
+++ sandbox/task/boost/task/default_pool.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -7,6 +7,7 @@
 #ifndef BOOST_TASK_DEFAULT_POOL_H
 #define BOOST_TASK_DEFAULT_POOL_H
 
+#include <boost/task/detail/config.hpp>
 #include <boost/task/fifo.hpp>
 #include <boost/task/pool.hpp>
 #include <boost/task/unbounded_channel.hpp>
@@ -19,7 +20,7 @@
 
 namespace detail
 {
-struct static_pool
+struct BOOST_TASK_DECL static_pool
 { static default_pool instance; };
 }
 

Modified: sandbox/task/boost/task/detail/callable.hpp
==============================================================================
--- sandbox/task/boost/task/detail/callable.hpp (original)
+++ sandbox/task/boost/task/detail/callable.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -11,6 +11,7 @@
 #include <boost/thread.hpp>
 #include <boost/utility.hpp>
 
+#include <boost/task/detail/config.hpp>
 #include <boost/task/task.hpp>
 
 #include <boost/config/abi_prefix.hpp>
@@ -19,7 +20,7 @@
 {
 namespace detail
 {
-class callable
+class BOOST_TASK_DECL callable
 {
 private:
         struct impl

Modified: sandbox/task/boost/task/detail/guard.hpp
==============================================================================
--- sandbox/task/boost/task/detail/guard.hpp (original)
+++ sandbox/task/boost/task/detail/guard.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -9,13 +9,15 @@
 
 #include <boost/utility.hpp>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
 namespace detail
 {
-class guard : private noncopyable
+class BOOST_TASK_DECL guard : private noncopyable
 {
 private:
         unsigned int & active_worker_;

Modified: sandbox/task/boost/task/detail/interrupter.hpp
==============================================================================
--- sandbox/task/boost/task/detail/interrupter.hpp (original)
+++ sandbox/task/boost/task/detail/interrupter.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -15,13 +15,15 @@
 #include <boost/thread/thread_time.hpp>
 #include <boost/utility.hpp>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
 namespace detail
 {
-class interrupter
+class BOOST_TASK_DECL interrupter
 {
 private:
         class impl : private noncopyable

Modified: sandbox/task/boost/task/detail/semaphore_posix.hpp
==============================================================================
--- sandbox/task/boost/task/detail/semaphore_posix.hpp (original)
+++ sandbox/task/boost/task/detail/semaphore_posix.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -14,13 +14,15 @@
 
 #include <boost/utility.hpp>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
 namespace detail
 {
-class semaphore : private boost::noncopyable
+class BOOST_TASK_DECL semaphore : private boost::noncopyable
 {
 private:
         sem_t sem_;

Modified: sandbox/task/boost/task/detail/semaphore_windows.hpp
==============================================================================
--- sandbox/task/boost/task/detail/semaphore_windows.hpp (original)
+++ sandbox/task/boost/task/detail/semaphore_windows.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -14,13 +14,15 @@
 
 #include <boost/utility.hpp>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
 namespace detail
 {
-class semaphore : private boost::noncopyable
+class BOOST_TASK_DECL semaphore : private boost::noncopyable
 {
 private:
         HANDLE handle_;

Modified: sandbox/task/boost/task/detail/worker.hpp
==============================================================================
--- sandbox/task/boost/task/detail/worker.hpp (original)
+++ sandbox/task/boost/task/detail/worker.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -18,6 +18,7 @@
 #include <boost/utility.hpp>
 
 #include <boost/task/detail/callable.hpp>
+#include <boost/task/detail/config.hpp>
 #include <boost/task/detail/guard.hpp>
 #include <boost/task/detail/interrupter.hpp>
 #include <boost/task/detail/semaphore.hpp>
@@ -31,7 +32,7 @@
 {
 namespace detail
 {
-class worker
+class BOOST_TASK_DECL worker
 {
 private:
         static thread_specific_ptr< worker > tss_;

Modified: sandbox/task/boost/task/detail/worker_group.hpp
==============================================================================
--- sandbox/task/boost/task/detail/worker_group.hpp (original)
+++ sandbox/task/boost/task/detail/worker_group.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -15,6 +15,7 @@
 #include <boost/multi_index/random_access_index.hpp>
 #include <boost/thread.hpp>
 
+#include <boost/task/detail/config.hpp>
 #include <boost/task/detail/worker.hpp>
 
 #include <boost/config/abi_prefix.hpp>
@@ -23,7 +24,7 @@
 {
 namespace detail
 {
-class worker_group
+class BOOST_TASK_DECL worker_group
 {
 private:
         struct id_idx_tag {};

Modified: sandbox/task/boost/task/detail/wsq.hpp
==============================================================================
--- sandbox/task/boost/task/detail/wsq.hpp (original)
+++ sandbox/task/boost/task/detail/wsq.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -11,6 +11,7 @@
 #include <boost/thread/mutex.hpp>
 #include <boost/utility.hpp>
 
+#include <boost/task/detail/config.hpp>
 #include <boost/task/detail/callable.hpp>
 
 #include <boost/config/abi_prefix.hpp>
@@ -19,7 +20,7 @@
 {
 namespace detail
 {
-class wsq : private noncopyable
+class BOOST_TASK_DECL wsq : private noncopyable
 {
 private:
         const int initial_size_;

Modified: sandbox/task/boost/task/poolsize.hpp
==============================================================================
--- sandbox/task/boost/task/poolsize.hpp (original)
+++ sandbox/task/boost/task/poolsize.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -9,11 +9,13 @@
 
 #include <cstddef>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
-class poolsize
+class BOOST_TASK_DECL poolsize
 {
 private:
         std::size_t value_;

Modified: sandbox/task/boost/task/scanns.hpp
==============================================================================
--- sandbox/task/boost/task/scanns.hpp (original)
+++ sandbox/task/boost/task/scanns.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -9,11 +9,13 @@
 
 #include <cstddef>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
-class scanns
+class BOOST_TASK_DECL scanns
 {
 private:
         std::size_t value_;

Modified: sandbox/task/boost/task/watermark.hpp
==============================================================================
--- sandbox/task/boost/task/watermark.hpp (original)
+++ sandbox/task/boost/task/watermark.hpp 2009-04-17 15:59:58 EDT (Fri, 17 Apr 2009)
@@ -9,11 +9,13 @@
 
 #include <cstddef>
 
+#include <boost/task/detail/config.hpp>
+
 #include <boost/config/abi_prefix.hpp>
 
 namespace boost { namespace task
 {
-class high_watermark
+class BOOST_TASK_DECL high_watermark
 {
 private:
         std::size_t value_;
@@ -24,7 +26,7 @@
         operator std::size_t () const;
 };
 
-class low_watermark
+class BOOST_TASK_DECL low_watermark
 {
 private:
         std::size_t value_;


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