|
Boost-Commit : |
From: anthony_at_[hidden]
Date: 2007-11-07 07:10:17
Author: anthonyw
Date: 2007-11-07 07:10:17 EST (Wed, 07 Nov 2007)
New Revision: 40884
URL: http://svn.boost.org/trac/boost/changeset/40884
Log:
Added missing licence and copyright
Text files modified:
trunk/boost/thread/condition.hpp | 6 ++++++
trunk/boost/thread/pthread/pthread_mutex_scoped_lock.hpp | 6 ++++++
trunk/boost/thread/pthread/thread.hpp | 18 +++++++++---------
trunk/boost/thread/pthread/timespec.hpp | 5 +++++
trunk/boost/thread/thread_time.hpp | 6 ++++++
5 files changed, 32 insertions(+), 9 deletions(-)
Modified: trunk/boost/thread/condition.hpp
==============================================================================
--- trunk/boost/thread/condition.hpp (original)
+++ trunk/boost/thread/condition.hpp 2007-11-07 07:10:17 EST (Wed, 07 Nov 2007)
@@ -1,5 +1,11 @@
#ifndef BOOST_THREAD_CONDITION_HPP
#define BOOST_THREAD_CONDITION_HPP
+// (C) Copyright 2007 Anthony Williams
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
#include <boost/thread/condition_variable.hpp>
namespace boost
Modified: trunk/boost/thread/pthread/pthread_mutex_scoped_lock.hpp
==============================================================================
--- trunk/boost/thread/pthread/pthread_mutex_scoped_lock.hpp (original)
+++ trunk/boost/thread/pthread/pthread_mutex_scoped_lock.hpp 2007-11-07 07:10:17 EST (Wed, 07 Nov 2007)
@@ -1,5 +1,11 @@
#ifndef BOOST_PTHREAD_MUTEX_SCOPED_LOCK_HPP
#define BOOST_PTHREAD_MUTEX_SCOPED_LOCK_HPP
+// (C) Copyright 2007 Anthony Williams
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
#include <pthread.h>
#include <boost/assert.hpp>
Modified: trunk/boost/thread/pthread/thread.hpp
==============================================================================
--- trunk/boost/thread/pthread/thread.hpp (original)
+++ trunk/boost/thread/pthread/thread.hpp 2007-11-07 07:10:17 EST (Wed, 07 Nov 2007)
@@ -33,7 +33,7 @@
namespace this_thread
{
- detail::thread_id get_id();
+ BOOST_THREAD_DECL detail::thread_id get_id();
}
namespace detail
@@ -208,22 +208,22 @@
~restore_interruption();
};
- inline thread::id get_id()
+ BOOST_THREAD_DECL inline thread::id get_id()
{
return thread::id(pthread_self());
}
- void BOOST_THREAD_DECL interruption_point();
- bool BOOST_THREAD_DECL interruption_enabled();
- bool BOOST_THREAD_DECL interruption_requested();
+ BOOST_THREAD_DECL void interruption_point();
+ BOOST_THREAD_DECL bool interruption_enabled();
+ BOOST_THREAD_DECL bool interruption_requested();
- inline void yield()
+ BOOST_THREAD_DECL inline void yield()
{
thread::yield();
}
template<typename TimeDuration>
- inline void sleep(TimeDuration const& rel_time)
+ BOOST_THREAD_DECL inline void sleep(TimeDuration const& rel_time)
{
thread::sleep(get_system_time()+rel_time);
}
@@ -254,13 +254,13 @@
}
};
- void add_thread_exit_function(thread_exit_function_base*);
+ BOOST_THREAD_DECL void add_thread_exit_function(thread_exit_function_base*);
}
namespace this_thread
{
template<typename F>
- void at_thread_exit(F f)
+ inline void at_thread_exit(F f)
{
detail::thread_exit_function_base* const thread_exit_func=new detail::thread_exit_function<F>(f);
detail::add_thread_exit_function(thread_exit_func);
Modified: trunk/boost/thread/pthread/timespec.hpp
==============================================================================
--- trunk/boost/thread/pthread/timespec.hpp (original)
+++ trunk/boost/thread/pthread/timespec.hpp 2007-11-07 07:10:17 EST (Wed, 07 Nov 2007)
@@ -1,5 +1,10 @@
#ifndef BOOST_THREAD_PTHREAD_TIMESPEC_HPP
#define BOOST_THREAD_PTHREAD_TIMESPEC_HPP
+// (C) Copyright 2007 Anthony Williams
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
#include <boost/thread/thread_time.hpp>
#include <boost/date_time/posix_time/conversion.hpp>
Modified: trunk/boost/thread/thread_time.hpp
==============================================================================
--- trunk/boost/thread/thread_time.hpp (original)
+++ trunk/boost/thread/thread_time.hpp 2007-11-07 07:10:17 EST (Wed, 07 Nov 2007)
@@ -1,5 +1,11 @@
#ifndef BOOST_THREAD_TIME_HPP
#define BOOST_THREAD_TIME_HPP
+// (C) Copyright 2007 Anthony Williams
+//
+// Distributed under the Boost Software License, Version 1.0. (See
+// accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
#include <boost/date_time/microsec_time_clock.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
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