Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59238 - in sandbox/task: . libs/task/src
From: oliver.kowalke_at_[hidden]
Date: 2010-01-23 07:39:59


Author: olli
Date: 2010-01-23 07:39:58 EST (Sat, 23 Jan 2010)
New Revision: 59238
URL: http://svn.boost.org/trac/boost/changeset/59238

Log:
- fuix for FreeBSD

Text files modified:
   sandbox/task/change.log | 5 +++++
   sandbox/task/libs/task/src/semaphore_posix.cpp | 3 +++
   2 files changed, 8 insertions(+), 0 deletions(-)

Modified: sandbox/task/change.log
==============================================================================
--- sandbox/task/change.log (original)
+++ sandbox/task/change.log 2010-01-23 07:39:58 EST (Sat, 23 Jan 2010)
@@ -1,3 +1,8 @@
+* boost.task-0.4.2:
+-------------------
+- bugfix related to deactivating queues and channels
+- introduction of fast_semaphore for notification of worker-threads in a pool
+
 * boost.task-0.4.1:
 -------------------
 - corrections for intel compiler

Modified: sandbox/task/libs/task/src/semaphore_posix.cpp
==============================================================================
--- sandbox/task/libs/task/src/semaphore_posix.cpp (original)
+++ sandbox/task/libs/task/src/semaphore_posix.cpp 2010-01-23 07:39:58 EST (Sat, 23 Jan 2010)
@@ -16,16 +16,19 @@
 #include <stdexcept>
 
 #include <boost/assert.hpp>
+#include <boost/config.hpp>
 #include <boost/system/error_code.hpp>
 #include <boost/system/system_error.hpp>
 
 namespace {
 
+#if ! defined(__FreeBSD__)
 union semun {
         int val;
         semid_ds * buf;
         ushort * array;
 };
+#endif
 
 }
 


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