From 55b48874a4e5b0b210fc999ffe9f0eb63f18156e Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 21 Mar 2006 02:26:31 +0000 Subject: [PATCH 001/170] This commit was manufactured by cvs2svn to create branch 'RC_1_34_0'. [SVN r33417] From ed587be470e8602383d5c71ee9f1c2cfb6102881 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 7 Apr 2006 14:01:36 +0000 Subject: [PATCH 002/170] Merge from trunk [SVN r33597] --- build/Jamfile.v2 | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index ca3ccc66..88c3f384 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -1,20 +1,9 @@ import os ; -if [ os.name ] = NT -{ - reqts = shared:BOOST_THREAD_BUILD_DLL=1 ; -} -else -{ - # Declare the uses system library - lib pthread : : pthread ; - usage = pthread ; -} project boost/thread : source-location ../src - : usage-requirements $(usage) - : requirements $(reqts) multi + : requirements shared:BOOST_THREAD_BUILD_DLL=1 multi : default-build multi ; @@ -36,6 +25,9 @@ CPP_SOURCES = lib boost_thread : $(CPP_SOURCES).cpp + : shared:BOOST_THREAD_BUILD_DLL=1 + static:BOOST_THREAD_BUILD_LIB=1 + : # default build : shared:BOOST_THREAD_BUILD_DLL=1 static:BOOST_THREAD_BUILD_LIB=1 ; From 2528bd0b8fd94471569ff8e844c3f90481d3c804 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Tue, 25 Apr 2006 10:06:38 +0000 Subject: [PATCH 003/170] Added patch from http://lists.boost.org/Archives/boost/2005/05/86395.php to fix bug https://sourceforge.net/tracker/index.php?func=detail&aid=1424965&group_id=7586&atid=107586 [SVN r33802] --- src/tss.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tss.cpp b/src/tss.cpp index d02e5d90..24759cde 100644 --- a/src/tss.cpp +++ b/src/tss.cpp @@ -56,6 +56,7 @@ extern "C" void cleanup_slots(void* p) (*tss_data->cleanup_handlers[i])((*slots)[i]); (*slots)[i] = 0; } + delete slots; } void init_tss_data() From 811a03f281cd37bba874a98df03a00cd96ab774a Mon Sep 17 00:00:00 2001 From: Nicola Musatti Date: Fri, 5 May 2006 21:13:45 +0000 Subject: [PATCH 004/170] Updated Borland workaround [SVN r33942] --- include/boost/thread/read_write_mutex.hpp | 2 +- src/read_write_mutex.cpp | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/boost/thread/read_write_mutex.hpp b/include/boost/thread/read_write_mutex.hpp index 5903a1a7..c4c451a4 100644 --- a/include/boost/thread/read_write_mutex.hpp +++ b/include/boost/thread/read_write_mutex.hpp @@ -53,7 +53,7 @@ struct read_write_mutex_impl typedef detail::thread::scoped_timed_lock scoped_timed_lock; read_write_mutex_impl(read_write_scheduling_policy::read_write_scheduling_policy_enum sp); -#if !BOOST_WORKAROUND(__BORLANDC__,<= 0x564) +#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(582)) ~read_write_mutex_impl(); #endif diff --git a/src/read_write_mutex.cpp b/src/read_write_mutex.cpp index 484645af..b0d94da3 100644 --- a/src/read_write_mutex.cpp +++ b/src/read_write_mutex.cpp @@ -379,7 +379,10 @@ read_write_mutex_impl::read_write_mutex_impl(read_write_scheduling_policy , m_readers_next(true) {} -#if !BOOST_WORKAROUND(__BORLANDC__, <= 0x564) +// Borland requires base class destructors to be explicitly exported from DLL's +// even if they're not explicitly called. As this only contains postconditions, +// it's reasonably safe to comment it out - Nicola Musatti 5/5/2006 +#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(582)) template read_write_mutex_impl::~read_write_mutex_impl() { From e7620a1050e63733094e5cf10b7d853c866b6fc3 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Wed, 13 Sep 2006 08:33:30 +0000 Subject: [PATCH 005/170] added boostinspect:nolicense to files with old license from William Kempf [SVN r35086] --- build/Jamfile | 1 + build/threads.jam | 1 + include/boost/thread/barrier.hpp | 1 + include/boost/thread/condition.hpp | 1 + include/boost/thread/detail/config.hpp | 1 + include/boost/thread/detail/lock.hpp | 1 + include/boost/thread/detail/read_write_lock.hpp | 1 + include/boost/thread/exceptions.hpp | 1 + include/boost/thread/mutex.hpp | 1 + include/boost/thread/once.hpp | 1 + include/boost/thread/read_write_mutex.hpp | 1 + include/boost/thread/recursive_mutex.hpp | 1 + include/boost/thread/thread.hpp | 1 + include/boost/thread/tss.hpp | 1 + include/boost/thread/xtime.hpp | 1 + 15 files changed, 15 insertions(+) diff --git a/build/Jamfile b/build/Jamfile index 180ad9fd..fd81ae5b 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -8,6 +8,7 @@ # in supporting documentation. William E. Kempf makes no representations # about the suitability of this software for any purpose. # It is provided "as is" without express or implied warranty. +# boostinspect:nolicense # # Boost.Threads build Jamfile # diff --git a/build/threads.jam b/build/threads.jam index a36d1511..993c6997 100644 --- a/build/threads.jam +++ b/build/threads.jam @@ -8,6 +8,7 @@ # in supporting documentation. William E. Kempf makes no representations # about the suitability of this software for any purpose. # It is provided "as is" without express or implied warranty. +# boostinspect:nolicense # Additional configuration variables used: # 1. PTW32_DIR and PTW32_LIB may be used on Win32 platforms to specify that diff --git a/include/boost/thread/barrier.hpp b/include/boost/thread/barrier.hpp index 76075ba6..588382f1 100644 --- a/include/boost/thread/barrier.hpp +++ b/include/boost/thread/barrier.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_BARRIER_JDM030602_HPP #define BOOST_BARRIER_JDM030602_HPP diff --git a/include/boost/thread/condition.hpp b/include/boost/thread/condition.hpp index 97a7526b..79d697d9 100644 --- a/include/boost/thread/condition.hpp +++ b/include/boost/thread/condition.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_CONDITION_WEK070601_HPP #define BOOST_CONDITION_WEK070601_HPP diff --git a/include/boost/thread/detail/config.hpp b/include/boost/thread/detail/config.hpp index 81f0be6d..b1a32279 100644 --- a/include/boost/thread/detail/config.hpp +++ b/include/boost/thread/detail/config.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_THREAD_CONFIG_WEK01032003_HPP #define BOOST_THREAD_CONFIG_WEK01032003_HPP diff --git a/include/boost/thread/detail/lock.hpp b/include/boost/thread/detail/lock.hpp index c410186f..9cf2fdc0 100644 --- a/include/boost/thread/detail/lock.hpp +++ b/include/boost/thread/detail/lock.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_XLOCK_WEK070601_HPP #define BOOST_XLOCK_WEK070601_HPP diff --git a/include/boost/thread/detail/read_write_lock.hpp b/include/boost/thread/detail/read_write_lock.hpp index 2116a5de..0e18d984 100644 --- a/include/boost/thread/detail/read_write_lock.hpp +++ b/include/boost/thread/detail/read_write_lock.hpp @@ -12,6 +12,7 @@ // in supporting documentation. David Moore makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_READ_WRITE_LOCK_JDM031002_HPP #define BOOST_READ_WRITE_LOCK_JDM031002_HPP diff --git a/include/boost/thread/exceptions.hpp b/include/boost/thread/exceptions.hpp index 45cf191f..91be381d 100644 --- a/include/boost/thread/exceptions.hpp +++ b/include/boost/thread/exceptions.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_THREAD_EXCEPTIONS_PDM070801_H #define BOOST_THREAD_EXCEPTIONS_PDM070801_H diff --git a/include/boost/thread/mutex.hpp b/include/boost/thread/mutex.hpp index 6739abf4..8372aa63 100644 --- a/include/boost/thread/mutex.hpp +++ b/include/boost/thread/mutex.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_MUTEX_WEK070601_HPP #define BOOST_MUTEX_WEK070601_HPP diff --git a/include/boost/thread/once.hpp b/include/boost/thread/once.hpp index 66666f83..3e00ab40 100644 --- a/include/boost/thread/once.hpp +++ b/include/boost/thread/once.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_ONCE_WEK080101_HPP #define BOOST_ONCE_WEK080101_HPP diff --git a/include/boost/thread/read_write_mutex.hpp b/include/boost/thread/read_write_mutex.hpp index c4c451a4..fdae2de7 100644 --- a/include/boost/thread/read_write_mutex.hpp +++ b/include/boost/thread/read_write_mutex.hpp @@ -8,6 +8,7 @@ // in supporting documentation. David Moore makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense // A Boost::threads implementation of a synchronization // primitive which can allow multiple readers or a single diff --git a/include/boost/thread/recursive_mutex.hpp b/include/boost/thread/recursive_mutex.hpp index 75fe6422..5912ccf9 100644 --- a/include/boost/thread/recursive_mutex.hpp +++ b/include/boost/thread/recursive_mutex.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_RECURSIVE_MUTEX_WEK070601_HPP #define BOOST_RECURSIVE_MUTEX_WEK070601_HPP diff --git a/include/boost/thread/thread.hpp b/include/boost/thread/thread.hpp index 92b1b34d..33f25ea5 100644 --- a/include/boost/thread/thread.hpp +++ b/include/boost/thread/thread.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_THREAD_WEK070601_HPP #define BOOST_THREAD_WEK070601_HPP diff --git a/include/boost/thread/tss.hpp b/include/boost/thread/tss.hpp index 6843eeb9..4d6d8f84 100644 --- a/include/boost/thread/tss.hpp +++ b/include/boost/thread/tss.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_TSS_WEK070601_HPP #define BOOST_TSS_WEK070601_HPP diff --git a/include/boost/thread/xtime.hpp b/include/boost/thread/xtime.hpp index b9d4004f..52a04aa7 100644 --- a/include/boost/thread/xtime.hpp +++ b/include/boost/thread/xtime.hpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #ifndef BOOST_XTIME_WEK070601_HPP #define BOOST_XTIME_WEK070601_HPP From 0b6054a9198bf9fe68d3ed7141409633b68071c3 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Wed, 13 Sep 2006 08:54:53 +0000 Subject: [PATCH 006/170] added boostinspect:nolicense to files with old license from William Kempf [SVN r35087] --- example/Jamfile | 1 + example/condition.cpp | 1 + example/monitor.cpp | 1 + example/mutex.cpp | 1 + example/once.cpp | 1 + example/recursive_mutex.cpp | 1 + example/starvephil.cpp | 1 + example/tennis.cpp | 1 + example/thread.cpp | 1 + example/thread_group.cpp | 1 + example/tss.cpp | 1 + example/xtime.cpp | 1 + src/barrier.cpp | 1 + src/condition.cpp | 1 + src/exceptions.cpp | 1 + src/mutex.cpp | 1 + src/mutex.inl | 1 + src/once.cpp | 1 + src/read_write_mutex.cpp | 1 + src/recursive_mutex.cpp | 1 + src/thread.cpp | 1 + src/timeconv.inl | 1 + src/tss.cpp | 1 + src/xtime.cpp | 1 + test/Jamfile | 1 + test/Jamfile.v2 | 1 + test/test_barrier.cpp | 1 + test/test_condition.cpp | 1 + test/test_mutex.cpp | 1 + test/test_once.cpp | 1 + test/test_read_write_mutex.cpp | 1 + test/test_thread.cpp | 1 + test/test_tss.cpp | 1 + test/test_xtime.cpp | 1 + tutorial/Jamfile | 1 + tutorial/bounded_buffer.cpp | 1 + tutorial/counter.cpp | 1 + tutorial/factorial.cpp | 1 + tutorial/factorial2.cpp | 1 + tutorial/factorial3.cpp | 1 + tutorial/helloworld.cpp | 1 + tutorial/helloworld2.cpp | 1 + tutorial/helloworld3.cpp | 1 + tutorial/helloworld4.cpp | 1 + tutorial/once.cpp | 1 + tutorial/tss.cpp | 1 + 46 files changed, 46 insertions(+) diff --git a/example/Jamfile b/example/Jamfile index 66f67f27..e632f171 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -8,6 +8,7 @@ # in supporting documentation. William E. Kempf makes no representations # about the suitability of this software for any purpose. # It is provided "as is" without express or implied warranty. +# boostinspect:nolicense # # Boost.Threads example Jamfile # diff --git a/example/condition.cpp b/example/condition.cpp index 0d5c1a26..4bde419c 100644 --- a/example/condition.cpp +++ b/example/condition.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/monitor.cpp b/example/monitor.cpp index a18e47d5..0257118e 100644 --- a/example/monitor.cpp +++ b/example/monitor.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/mutex.cpp b/example/mutex.cpp index b9b71b14..9379cf20 100644 --- a/example/mutex.cpp +++ b/example/mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/once.cpp b/example/once.cpp index 13650d3b..49ab44b0 100644 --- a/example/once.cpp +++ b/example/once.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/recursive_mutex.cpp b/example/recursive_mutex.cpp index 18fcb583..f8dfebd4 100644 --- a/example/recursive_mutex.cpp +++ b/example/recursive_mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/starvephil.cpp b/example/starvephil.cpp index a293cfa1..502cb559 100644 --- a/example/starvephil.cpp +++ b/example/starvephil.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/tennis.cpp b/example/tennis.cpp index 238f963f..1ca31d64 100644 --- a/example/tennis.cpp +++ b/example/tennis.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/thread.cpp b/example/thread.cpp index 3de3f00e..582bf4e8 100644 --- a/example/thread.cpp +++ b/example/thread.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/thread_group.cpp b/example/thread_group.cpp index bdfcf26e..4626acb1 100644 --- a/example/thread_group.cpp +++ b/example/thread_group.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/tss.cpp b/example/tss.cpp index 68504aa7..8bffcff2 100644 --- a/example/tss.cpp +++ b/example/tss.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/example/xtime.cpp b/example/xtime.cpp index ad42b1d8..8c311fd3 100644 --- a/example/xtime.cpp +++ b/example/xtime.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/src/barrier.cpp b/src/barrier.cpp index 6d5c3a6f..5f6a5704 100644 --- a/src/barrier.cpp +++ b/src/barrier.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/src/condition.cpp b/src/condition.cpp index 23be4e49..1b6a4b08 100644 --- a/src/condition.cpp +++ b/src/condition.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/exceptions.cpp b/src/exceptions.cpp index 766a9387..c443ff57 100644 --- a/src/exceptions.cpp +++ b/src/exceptions.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/mutex.cpp b/src/mutex.cpp index ff49d989..83ce8d48 100644 --- a/src/mutex.cpp +++ b/src/mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/mutex.inl b/src/mutex.inl index a3aeac50..4291fa5c 100644 --- a/src/mutex.inl +++ b/src/mutex.inl @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense namespace { diff --git a/src/once.cpp b/src/once.cpp index 67fcf9a9..19cb0267 100644 --- a/src/once.cpp +++ b/src/once.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/read_write_mutex.cpp b/src/read_write_mutex.cpp index b0d94da3..ee6192ee 100644 --- a/src/read_write_mutex.cpp +++ b/src/read_write_mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense /* PROBLEMS: diff --git a/src/recursive_mutex.cpp b/src/recursive_mutex.cpp index 71503d0e..dbe8122a 100644 --- a/src/recursive_mutex.cpp +++ b/src/recursive_mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/thread.cpp b/src/thread.cpp index 1d4543ff..b6a4a400 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/timeconv.inl b/src/timeconv.inl index d9c22cb9..a99b4e11 100644 --- a/src/timeconv.inl +++ b/src/timeconv.inl @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense namespace { const int MILLISECONDS_PER_SECOND = 1000; diff --git a/src/tss.cpp b/src/tss.cpp index 24759cde..58cd75d9 100644 --- a/src/tss.cpp +++ b/src/tss.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/src/xtime.cpp b/src/xtime.cpp index c559d196..b44f4347 100644 --- a/src/xtime.cpp +++ b/src/xtime.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/Jamfile b/test/Jamfile index 16873fa8..8082f93a 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -8,6 +8,7 @@ # in supporting documentation. William E. Kempf makes no representations # about the suitability of this software for any purpose. # It is provided "as is" without express or implied warranty. +# boostinspect:nolicense # # Boost.Threads test Jamfile # diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index bc2bd22a..8bac9ba5 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -2,6 +2,7 @@ # and distribute this software is granted provided this copyright notice # appears in all copies. This software is provided "as is" without express or # implied warranty, and with no claim as to its suitability for any purpose. +# boostinspect:nolicense # # Boost.Threads test Jamfile # diff --git a/test/test_barrier.cpp b/test/test_barrier.cpp index 4d9d561b..d7a09b86 100644 --- a/test/test_barrier.cpp +++ b/test/test_barrier.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_condition.cpp b/test/test_condition.cpp index 3e2b99fb..02b60e0c 100644 --- a/test/test_condition.cpp +++ b/test/test_condition.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_mutex.cpp b/test/test_mutex.cpp index f217f94f..19be2f3b 100644 --- a/test/test_mutex.cpp +++ b/test/test_mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_once.cpp b/test/test_once.cpp index e04cdbd1..ad458f30 100644 --- a/test/test_once.cpp +++ b/test/test_once.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_read_write_mutex.cpp b/test/test_read_write_mutex.cpp index f0992702..eb73dfe6 100644 --- a/test/test_read_write_mutex.cpp +++ b/test/test_read_write_mutex.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_thread.cpp b/test/test_thread.cpp index 2a9871c1..f21effe8 100644 --- a/test/test_thread.cpp +++ b/test/test_thread.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_tss.cpp b/test/test_tss.cpp index bd3132f7..6eba5045 100644 --- a/test/test_tss.cpp +++ b/test/test_tss.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/test/test_xtime.cpp b/test/test_xtime.cpp index 7cb8d2e8..3cfc169f 100644 --- a/test/test_xtime.cpp +++ b/test/test_xtime.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include diff --git a/tutorial/Jamfile b/tutorial/Jamfile index ee808874..3c10270c 100644 --- a/tutorial/Jamfile +++ b/tutorial/Jamfile @@ -8,6 +8,7 @@ # in supporting documentation. William E. Kempf makes no representations # about the suitability of this software for any purpose. # It is provided "as is" without express or implied warranty. +# boostinspect:nolicense # # Boost.Threads tutorial Jamfile # diff --git a/tutorial/bounded_buffer.cpp b/tutorial/bounded_buffer.cpp index ec7b61ac..8fe56cab 100644 --- a/tutorial/bounded_buffer.cpp +++ b/tutorial/bounded_buffer.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/counter.cpp b/tutorial/counter.cpp index 48b243b0..d963d803 100644 --- a/tutorial/counter.cpp +++ b/tutorial/counter.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/factorial.cpp b/tutorial/factorial.cpp index 0ccafb69..2f40507e 100644 --- a/tutorial/factorial.cpp +++ b/tutorial/factorial.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/factorial2.cpp b/tutorial/factorial2.cpp index e711de18..7331ad9c 100644 --- a/tutorial/factorial2.cpp +++ b/tutorial/factorial2.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/factorial3.cpp b/tutorial/factorial3.cpp index f30dedf3..4680e629 100644 --- a/tutorial/factorial3.cpp +++ b/tutorial/factorial3.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/helloworld.cpp b/tutorial/helloworld.cpp index f7538d97..553b96f3 100644 --- a/tutorial/helloworld.cpp +++ b/tutorial/helloworld.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/helloworld2.cpp b/tutorial/helloworld2.cpp index 45a7b2df..14615224 100644 --- a/tutorial/helloworld2.cpp +++ b/tutorial/helloworld2.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/helloworld3.cpp b/tutorial/helloworld3.cpp index 35e9b509..615dc734 100644 --- a/tutorial/helloworld3.cpp +++ b/tutorial/helloworld3.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/helloworld4.cpp b/tutorial/helloworld4.cpp index 35e9b509..615dc734 100644 --- a/tutorial/helloworld4.cpp +++ b/tutorial/helloworld4.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/once.cpp b/tutorial/once.cpp index 13650d3b..49ab44b0 100644 --- a/tutorial/once.cpp +++ b/tutorial/once.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include diff --git a/tutorial/tss.cpp b/tutorial/tss.cpp index 68504aa7..8bffcff2 100644 --- a/tutorial/tss.cpp +++ b/tutorial/tss.cpp @@ -8,6 +8,7 @@ // in supporting documentation. William E. Kempf makes no representations // about the suitability of this software for any purpose. // It is provided "as is" without express or implied warranty. +// boostinspect:nolicense #include #include From 11f913e8fb656a7919d21c4f21f4649c5fe28120 Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Wed, 13 Sep 2006 14:11:49 +0000 Subject: [PATCH 007/170] added BSL for files with authors in blanket_permissions.txt [SVN r35090] --- build/Jamfile.v2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index 88c3f384..b4a750ef 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -1,3 +1,8 @@ +# (C) Copyright Vladimir Prus, David Abrahams, Michael Stevens, Hartmut Kaiser, William E Kempf 2002-6 +# Use, modification and distribution are subject to 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) + import os ; From cb4d739fd150342888a5bee7ad75cc4fa1f99a10 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Thu, 14 Sep 2006 21:51:01 +0000 Subject: [PATCH 008/170] Changed Boost.Thread to use the Boost license. [SVN r35112] --- build/Jamfile | 10 ++-------- build/Jamfile.v2 | 3 ++- build/threads.jam | 10 ++-------- doc/Jamfile.v2 | 5 +++++ doc/acknowledgements.xml | 4 ++++ doc/barrier-ref.xml | 4 ++++ doc/bibliography.xml | 4 ++++ doc/build.xml | 4 ++++ doc/concepts.xml | 4 ++++ doc/condition-ref.xml | 4 ++++ doc/configuration.xml | 4 ++++ doc/design.xml | 4 ++++ doc/entities.xml | 4 ++++ doc/exceptions-ref.xml | 4 ++++ doc/faq.xml | 4 ++++ doc/glossary.xml | 4 ++++ doc/implementation_notes.xml | 4 ++++ doc/index.html | 4 ++++ doc/mutex-ref.xml | 4 ++++ doc/once-ref.xml | 4 ++++ doc/overview.xml | 4 ++++ doc/rationale.xml | 4 ++++ doc/read_write_mutex-ref.xml | 4 ++++ doc/recursive_mutex-ref.xml | 4 ++++ doc/reference.xml | 4 ++++ doc/release_notes.xml | 4 ++++ doc/thread-ref.xml | 4 ++++ doc/thread.xml | 4 ++++ doc/tss-ref.xml | 4 ++++ doc/xtime-ref.xml | 4 ++++ example/Jamfile | 10 ++-------- example/Jamfile.v2 | 5 +++++ example/condition.cpp | 10 ++-------- example/monitor.cpp | 10 ++-------- example/mutex.cpp | 10 ++-------- example/once.cpp | 10 ++-------- example/recursive_mutex.cpp | 10 ++-------- example/starvephil.cpp | 10 ++-------- example/tennis.cpp | 10 ++-------- example/thread.cpp | 10 ++-------- example/thread_group.cpp | 10 ++-------- example/tss.cpp | 10 ++-------- example/xtime.cpp | 10 ++-------- include/boost/thread.hpp | 9 ++------- include/boost/thread/barrier.hpp | 10 ++-------- include/boost/thread/condition.hpp | 10 ++-------- include/boost/thread/detail/config.hpp | 10 ++-------- include/boost/thread/detail/lock.hpp | 10 ++-------- include/boost/thread/detail/read_write_lock.hpp | 10 ++-------- include/boost/thread/detail/tss_hooks.hpp | 2 +- include/boost/thread/exceptions.hpp | 10 ++-------- include/boost/thread/mutex.hpp | 10 ++-------- include/boost/thread/once.hpp | 10 ++-------- include/boost/thread/read_write_mutex.hpp | 10 ++-------- include/boost/thread/recursive_mutex.hpp | 10 ++-------- include/boost/thread/thread.hpp | 10 ++-------- include/boost/thread/tss.hpp | 10 ++-------- include/boost/thread/xtime.hpp | 10 ++-------- index.html | 5 +++++ src/barrier.cpp | 10 ++-------- src/condition.cpp | 10 ++-------- src/exceptions.cpp | 10 ++-------- src/mutex.cpp | 10 ++-------- src/mutex.inl | 10 ++-------- src/once.cpp | 10 ++-------- src/read_write_mutex.cpp | 10 ++-------- src/recursive_mutex.cpp | 10 ++-------- src/thread.cpp | 10 ++-------- src/timeconv.inl | 10 ++-------- src/tss.cpp | 10 ++-------- src/xtime.cpp | 10 ++-------- test/Jamfile | 10 ++-------- test/Jamfile.v2 | 8 +++----- test/test_barrier.cpp | 10 ++-------- test/test_condition.cpp | 10 ++-------- test/test_mutex.cpp | 10 ++-------- test/test_once.cpp | 10 ++-------- test/test_read_write_mutex.cpp | 10 ++-------- test/test_thread.cpp | 10 ++-------- test/test_tss.cpp | 10 ++-------- test/test_xtime.cpp | 10 ++-------- test/util.inl | 9 ++------- tutorial/Jamfile | 10 ++-------- tutorial/bounded_buffer.cpp | 10 ++-------- tutorial/counter.cpp | 10 ++-------- tutorial/factorial.cpp | 10 ++-------- tutorial/factorial2.cpp | 10 ++-------- tutorial/factorial3.cpp | 10 ++-------- tutorial/helloworld.cpp | 10 ++-------- tutorial/helloworld2.cpp | 10 ++-------- tutorial/helloworld3.cpp | 10 ++-------- tutorial/helloworld4.cpp | 10 ++-------- tutorial/once.cpp | 10 ++-------- tutorial/tss.cpp | 10 ++-------- 94 files changed, 249 insertions(+), 501 deletions(-) diff --git a/build/Jamfile b/build/Jamfile index fd81ae5b..874a595f 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -1,14 +1,8 @@ # Copyright (C) 2001-2003 # William E. Kempf # -# Permission to use, copy, modify, distribute and sell this software -# and its documentation for any purpose is hereby granted without fee, -# provided that the above copyright notice appear in all copies and -# that both that copyright notice and this permission notice appear -# in supporting documentation. William E. Kempf makes no representations -# about the suitability of this software for any purpose. -# It is provided "as is" without express or implied warranty. -# boostinspect:nolicense +# 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) # # Boost.Threads build Jamfile # diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index b4a750ef..872f2939 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -1,4 +1,5 @@ -# (C) Copyright Vladimir Prus, David Abrahams, Michael Stevens, Hartmut Kaiser, William E Kempf 2002-6 +# (C) Copyright Vladimir Prus, David Abrahams, Michael Stevens, Hartmut Kaiser, +# William E Kempf 2002-2006 # Use, modification and distribution are subject to 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) diff --git a/build/threads.jam b/build/threads.jam index 993c6997..9f146fd5 100644 --- a/build/threads.jam +++ b/build/threads.jam @@ -1,14 +1,8 @@ # Copyright (C) 2001-2003 # William E. Kempf # -# Permission to use, copy, modify, distribute and sell this software -# and its documentation for any purpose is hereby granted without fee, -# provided that the above copyright notice appear in all copies and -# that both that copyright notice and this permission notice appear -# in supporting documentation. William E. Kempf makes no representations -# about the suitability of this software for any purpose. -# It is provided "as is" without express or implied warranty. -# boostinspect:nolicense +# 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) # Additional configuration variables used: # 1. PTW32_DIR and PTW32_LIB may be used on Win32 platforms to specify that diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 7b6acfc6..42c88f1d 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -1,3 +1,8 @@ +# Copyright (C) 2001-2003 +# William E. Kempf +# +# 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) import toolset ; toolset.using doxygen ; diff --git a/doc/acknowledgements.xml b/doc/acknowledgements.xml index f9889592..b9ecdd84 100644 --- a/doc/acknowledgements.xml +++ b/doc/acknowledgements.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Acknowledgements diff --git a/doc/barrier-ref.xml b/doc/barrier-ref.xml index 80740a57..5e8a622e 100644 --- a/doc/barrier-ref.xml +++ b/doc/barrier-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/bibliography.xml b/doc/bibliography.xml index a424d78a..d22f03f2 100644 --- a/doc/bibliography.xml +++ b/doc/bibliography.xml @@ -4,6 +4,10 @@ %threads.entities; ]> + Bibliography diff --git a/doc/build.xml b/doc/build.xml index eddf8b5e..1cb16441 100644 --- a/doc/build.xml +++ b/doc/build.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Build diff --git a/doc/concepts.xml b/doc/concepts.xml index c507847f..8e42d835 100644 --- a/doc/concepts.xml +++ b/doc/concepts.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Concepts diff --git a/doc/condition-ref.xml b/doc/condition-ref.xml index ad540baa..6649d0e4 100644 --- a/doc/condition-ref.xml +++ b/doc/condition-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/configuration.xml b/doc/configuration.xml index 1d31e0af..33f82297 100644 --- a/doc/configuration.xml +++ b/doc/configuration.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Configuration &Boost.Threads; uses several configuration macros in <boost/config.hpp>, diff --git a/doc/design.xml b/doc/design.xml index 712a5ce4..4305c3f3 100644 --- a/doc/design.xml +++ b/doc/design.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Design With client/server and three-tier architectures becoming common place diff --git a/doc/entities.xml b/doc/entities.xml index 8643e6fc..be299746 100644 --- a/doc/entities.xml +++ b/doc/entities.xml @@ -1,3 +1,7 @@ + Boost.Threads"> Boost.Build"> %threads.entities; ]> +
diff --git a/doc/faq.xml b/doc/faq.xml index 4387c0cc..f3f5d3a3 100644 --- a/doc/faq.xml +++ b/doc/faq.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Frequently Asked Questions diff --git a/doc/glossary.xml b/doc/glossary.xml index 06fef72a..3718d7a0 100644 --- a/doc/glossary.xml +++ b/doc/glossary.xml @@ -4,6 +4,10 @@ %threads.entities; ]> + Glossary Definitions are given in terms of the C++ Standard diff --git a/doc/implementation_notes.xml b/doc/implementation_notes.xml index 796026f5..301f8b94 100644 --- a/doc/implementation_notes.xml +++ b/doc/implementation_notes.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Implementation Notes
diff --git a/doc/index.html b/doc/index.html index 40d3f89e..177560fd 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1,3 +1,7 @@ + diff --git a/doc/mutex-ref.xml b/doc/mutex-ref.xml index 4e53ee04..db90c07e 100644 --- a/doc/mutex-ref.xml +++ b/doc/mutex-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/once-ref.xml b/doc/once-ref.xml index 0a54089f..31c8f3ef 100644 --- a/doc/once-ref.xml +++ b/doc/once-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/overview.xml b/doc/overview.xml index 733fa575..96ee18ab 100644 --- a/doc/overview.xml +++ b/doc/overview.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Overview
diff --git a/doc/rationale.xml b/doc/rationale.xml index d25171d2..cfe749c3 100644 --- a/doc/rationale.xml +++ b/doc/rationale.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Rationale This page explains the rationale behind various design decisions in the diff --git a/doc/read_write_mutex-ref.xml b/doc/read_write_mutex-ref.xml index 3ba9bfe7..00d31c41 100644 --- a/doc/read_write_mutex-ref.xml +++ b/doc/read_write_mutex-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/recursive_mutex-ref.xml b/doc/recursive_mutex-ref.xml index 3d398b0b..beefe2ce 100644 --- a/doc/recursive_mutex-ref.xml +++ b/doc/recursive_mutex-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/reference.xml b/doc/reference.xml index 1779b072..8d1ceb9c 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -4,6 +4,10 @@ %threads.entities; ]> + diff --git a/doc/release_notes.xml b/doc/release_notes.xml index 8459e2f8..c6640138 100644 --- a/doc/release_notes.xml +++ b/doc/release_notes.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
Release Notes
diff --git a/doc/thread-ref.xml b/doc/thread-ref.xml index 378fbf6b..fb5bdfb8 100644 --- a/doc/thread-ref.xml +++ b/doc/thread-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/thread.xml b/doc/thread.xml index 4e758d4b..494d4352 100644 --- a/doc/thread.xml +++ b/doc/thread.xml @@ -4,6 +4,10 @@ %threads.entities; ]> + diff --git a/doc/tss-ref.xml b/doc/tss-ref.xml index 96190ad4..8c4c7b22 100644 --- a/doc/tss-ref.xml +++ b/doc/tss-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/doc/xtime-ref.xml b/doc/xtime-ref.xml index feb2e6f9..088415bc 100644 --- a/doc/xtime-ref.xml +++ b/doc/xtime-ref.xml @@ -4,6 +4,10 @@ %threads.entities; ]> +
diff --git a/example/Jamfile b/example/Jamfile index e632f171..dc499a85 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -1,14 +1,8 @@ # Copyright (C) 2001-2003 # William E. Kempf # -# Permission to use, copy, modify, distribute and sell this software -# and its documentation for any purpose is hereby granted without fee, -# provided that the above copyright notice appear in all copies and -# that both that copyright notice and this permission notice appear -# in supporting documentation. William E. Kempf makes no representations -# about the suitability of this software for any purpose. -# It is provided "as is" without express or implied warranty. -# boostinspect:nolicense +# 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) # # Boost.Threads example Jamfile # diff --git a/example/Jamfile.v2 b/example/Jamfile.v2 index eca2ac5f..bfc8a59b 100644 --- a/example/Jamfile.v2 +++ b/example/Jamfile.v2 @@ -1,3 +1,8 @@ +# Copyright (C) 2001-2003 +# William E. Kempf +# +# 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) project boost/thread/example : requirements ../build//boost_thread multi diff --git a/example/condition.cpp b/example/condition.cpp index 4bde419c..ee2136b2 100644 --- a/example/condition.cpp +++ b/example/condition.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/monitor.cpp b/example/monitor.cpp index 0257118e..0a7383fb 100644 --- a/example/monitor.cpp +++ b/example/monitor.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/mutex.cpp b/example/mutex.cpp index 9379cf20..b276d549 100644 --- a/example/mutex.cpp +++ b/example/mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/once.cpp b/example/once.cpp index 49ab44b0..5a5b6f55 100644 --- a/example/once.cpp +++ b/example/once.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/recursive_mutex.cpp b/example/recursive_mutex.cpp index f8dfebd4..c5199545 100644 --- a/example/recursive_mutex.cpp +++ b/example/recursive_mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/starvephil.cpp b/example/starvephil.cpp index 502cb559..0ef2e0d3 100644 --- a/example/starvephil.cpp +++ b/example/starvephil.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/tennis.cpp b/example/tennis.cpp index 1ca31d64..e2228717 100644 --- a/example/tennis.cpp +++ b/example/tennis.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/thread.cpp b/example/thread.cpp index 582bf4e8..c21a3b5e 100644 --- a/example/thread.cpp +++ b/example/thread.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/thread_group.cpp b/example/thread_group.cpp index 4626acb1..232776dc 100644 --- a/example/thread_group.cpp +++ b/example/thread_group.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/tss.cpp b/example/tss.cpp index 8bffcff2..f867a918 100644 --- a/example/tss.cpp +++ b/example/tss.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/example/xtime.cpp b/example/xtime.cpp index 8c311fd3..a9b19339 100644 --- a/example/xtime.cpp +++ b/example/xtime.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/include/boost/thread.hpp b/include/boost/thread.hpp index 56cc8a65..b9a9ed68 100644 --- a/include/boost/thread.hpp +++ b/include/boost/thread.hpp @@ -1,13 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. +// 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) #if !defined(BOOST_THREAD_WEK01082003_HPP) #define BOOST_THREAD_WEK01082003_HPP diff --git a/include/boost/thread/barrier.hpp b/include/boost/thread/barrier.hpp index 588382f1..ea76d40f 100644 --- a/include/boost/thread/barrier.hpp +++ b/include/boost/thread/barrier.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2002-2003 // David Moore, William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_BARRIER_JDM030602_HPP #define BOOST_BARRIER_JDM030602_HPP diff --git a/include/boost/thread/condition.hpp b/include/boost/thread/condition.hpp index 79d697d9..39becb63 100644 --- a/include/boost/thread/condition.hpp +++ b/include/boost/thread/condition.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_CONDITION_WEK070601_HPP #define BOOST_CONDITION_WEK070601_HPP diff --git a/include/boost/thread/detail/config.hpp b/include/boost/thread/detail/config.hpp index b1a32279..40a8793e 100644 --- a/include/boost/thread/detail/config.hpp +++ b/include/boost/thread/detail/config.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_THREAD_CONFIG_WEK01032003_HPP #define BOOST_THREAD_CONFIG_WEK01032003_HPP diff --git a/include/boost/thread/detail/lock.hpp b/include/boost/thread/detail/lock.hpp index 9cf2fdc0..d2974ea0 100644 --- a/include/boost/thread/detail/lock.hpp +++ b/include/boost/thread/detail/lock.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_XLOCK_WEK070601_HPP #define BOOST_XLOCK_WEK070601_HPP diff --git a/include/boost/thread/detail/read_write_lock.hpp b/include/boost/thread/detail/read_write_lock.hpp index 0e18d984..c596df78 100644 --- a/include/boost/thread/detail/read_write_lock.hpp +++ b/include/boost/thread/detail/read_write_lock.hpp @@ -5,14 +5,8 @@ // Copyright (C) 2001 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. David Moore makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_READ_WRITE_LOCK_JDM031002_HPP #define BOOST_READ_WRITE_LOCK_JDM031002_HPP diff --git a/include/boost/thread/detail/tss_hooks.hpp b/include/boost/thread/detail/tss_hooks.hpp index 0954b6d1..a1c1aa3b 100644 --- a/include/boost/thread/detail/tss_hooks.hpp +++ b/include/boost/thread/detail/tss_hooks.hpp @@ -20,7 +20,7 @@ //Currently only implemented for Win32, but should //later be implemented for all platforms. //Used by Win32 implementation of Boost.Threads - //tss to peform cleanup. + //tss to perform cleanup. //Like the C runtime library atexit() function, //which it mimics, at_thread_exit() returns //zero if successful and a nonzero diff --git a/include/boost/thread/exceptions.hpp b/include/boost/thread/exceptions.hpp index 91be381d..30062f71 100644 --- a/include/boost/thread/exceptions.hpp +++ b/include/boost/thread/exceptions.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_THREAD_EXCEPTIONS_PDM070801_H #define BOOST_THREAD_EXCEPTIONS_PDM070801_H diff --git a/include/boost/thread/mutex.hpp b/include/boost/thread/mutex.hpp index 8372aa63..487e6d45 100644 --- a/include/boost/thread/mutex.hpp +++ b/include/boost/thread/mutex.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_MUTEX_WEK070601_HPP #define BOOST_MUTEX_WEK070601_HPP diff --git a/include/boost/thread/once.hpp b/include/boost/thread/once.hpp index 3e00ab40..286465c6 100644 --- a/include/boost/thread/once.hpp +++ b/include/boost/thread/once.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_ONCE_WEK080101_HPP #define BOOST_ONCE_WEK080101_HPP diff --git a/include/boost/thread/read_write_mutex.hpp b/include/boost/thread/read_write_mutex.hpp index fdae2de7..a0f49477 100644 --- a/include/boost/thread/read_write_mutex.hpp +++ b/include/boost/thread/read_write_mutex.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2002-2003 // David Moore, William E. Kempf, Michael Glassford // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. David Moore makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) // A Boost::threads implementation of a synchronization // primitive which can allow multiple readers or a single diff --git a/include/boost/thread/recursive_mutex.hpp b/include/boost/thread/recursive_mutex.hpp index 5912ccf9..09aa9431 100644 --- a/include/boost/thread/recursive_mutex.hpp +++ b/include/boost/thread/recursive_mutex.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_RECURSIVE_MUTEX_WEK070601_HPP #define BOOST_RECURSIVE_MUTEX_WEK070601_HPP diff --git a/include/boost/thread/thread.hpp b/include/boost/thread/thread.hpp index 33f25ea5..f6ad5856 100644 --- a/include/boost/thread/thread.hpp +++ b/include/boost/thread/thread.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_THREAD_WEK070601_HPP #define BOOST_THREAD_WEK070601_HPP diff --git a/include/boost/thread/tss.hpp b/include/boost/thread/tss.hpp index 4d6d8f84..2191f6ff 100644 --- a/include/boost/thread/tss.hpp +++ b/include/boost/thread/tss.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_TSS_WEK070601_HPP #define BOOST_TSS_WEK070601_HPP diff --git a/include/boost/thread/xtime.hpp b/include/boost/thread/xtime.hpp index 52a04aa7..5f66c629 100644 --- a/include/boost/thread/xtime.hpp +++ b/include/boost/thread/xtime.hpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) #ifndef BOOST_XTIME_WEK070601_HPP #define BOOST_XTIME_WEK070601_HPP diff --git a/index.html b/index.html index fa3571e2..1bc26cab 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,8 @@ + + diff --git a/src/barrier.cpp b/src/barrier.cpp index 5f6a5704..e0c94930 100644 --- a/src/barrier.cpp +++ b/src/barrier.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2002-2003 // David Moore, William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/src/condition.cpp b/src/condition.cpp index 1b6a4b08..a0d07f7b 100644 --- a/src/condition.cpp +++ b/src/condition.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/exceptions.cpp b/src/exceptions.cpp index c443ff57..cc635101 100644 --- a/src/exceptions.cpp +++ b/src/exceptions.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/mutex.cpp b/src/mutex.cpp index 83ce8d48..bb73b9ce 100644 --- a/src/mutex.cpp +++ b/src/mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/mutex.inl b/src/mutex.inl index 4291fa5c..3a279666 100644 --- a/src/mutex.inl +++ b/src/mutex.inl @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) namespace { diff --git a/src/once.cpp b/src/once.cpp index 19cb0267..4332f49a 100644 --- a/src/once.cpp +++ b/src/once.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/read_write_mutex.cpp b/src/read_write_mutex.cpp index ee6192ee..bbcb79d4 100644 --- a/src/read_write_mutex.cpp +++ b/src/read_write_mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2002-2003 // David Moore, William E. Kempf, Michael Glassford // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) /* PROBLEMS: diff --git a/src/recursive_mutex.cpp b/src/recursive_mutex.cpp index dbe8122a..50351502 100644 --- a/src/recursive_mutex.cpp +++ b/src/recursive_mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/thread.cpp b/src/thread.cpp index b6a4a400..3ac10182 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/timeconv.inl b/src/timeconv.inl index a99b4e11..47314619 100644 --- a/src/timeconv.inl +++ b/src/timeconv.inl @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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) namespace { const int MILLISECONDS_PER_SECOND = 1000; diff --git a/src/tss.cpp b/src/tss.cpp index 58cd75d9..5b2f8031 100644 --- a/src/tss.cpp +++ b/src/tss.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/src/xtime.cpp b/src/xtime.cpp index b44f4347..0732cf43 100644 --- a/src/xtime.cpp +++ b/src/xtime.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/Jamfile b/test/Jamfile index 8082f93a..cda3bc4d 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -1,14 +1,8 @@ # Copyright (C) 2001-2003 # William E. Kempf # -# Permission to use, copy, modify, distribute and sell this software -# and its documentation for any purpose is hereby granted without fee, -# provided that the above copyright notice appear in all copies and -# that both that copyright notice and this permission notice appear -# in supporting documentation. William E. Kempf makes no representations -# about the suitability of this software for any purpose. -# It is provided "as is" without express or implied warranty. -# boostinspect:nolicense +# 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) # # Boost.Threads test Jamfile # diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 8bac9ba5..5aa1ce24 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -1,8 +1,6 @@ -# (C) Copyright William E. Kempf 2001. Permission to copy, use, modify, sell -# and distribute this software is granted provided this copyright notice -# appears in all copies. This software is provided "as is" without express or -# implied warranty, and with no claim as to its suitability for any purpose. -# boostinspect:nolicense +# (C) Copyright William E. Kempf 2001. +# 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) # # Boost.Threads test Jamfile # diff --git a/test/test_barrier.cpp b/test/test_barrier.cpp index d7a09b86..b6982966 100644 --- a/test/test_barrier.cpp +++ b/test/test_barrier.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_condition.cpp b/test/test_condition.cpp index 02b60e0c..4570f06e 100644 --- a/test/test_condition.cpp +++ b/test/test_condition.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_mutex.cpp b/test/test_mutex.cpp index 19be2f3b..831e6bba 100644 --- a/test/test_mutex.cpp +++ b/test/test_mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_once.cpp b/test/test_once.cpp index ad458f30..d5c6eb9a 100644 --- a/test/test_once.cpp +++ b/test/test_once.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_read_write_mutex.cpp b/test/test_read_write_mutex.cpp index eb73dfe6..f1214e25 100644 --- a/test/test_read_write_mutex.cpp +++ b/test/test_read_write_mutex.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_thread.cpp b/test/test_thread.cpp index f21effe8..bca085cf 100644 --- a/test/test_thread.cpp +++ b/test/test_thread.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_tss.cpp b/test/test_tss.cpp index 6eba5045..c1d32956 100644 --- a/test/test_tss.cpp +++ b/test/test_tss.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/test_xtime.cpp b/test/test_xtime.cpp index 3cfc169f..099f3432 100644 --- a/test/test_xtime.cpp +++ b/test/test_xtime.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 diff --git a/test/util.inl b/test/util.inl index 46968e4a..9a6676b9 100644 --- a/test/util.inl +++ b/test/util.inl @@ -1,13 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. +// 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) #if !defined(UTIL_INL_WEK01242003) #define UTIL_INL_WEK01242003 diff --git a/tutorial/Jamfile b/tutorial/Jamfile index 3c10270c..9afc8d97 100644 --- a/tutorial/Jamfile +++ b/tutorial/Jamfile @@ -1,14 +1,8 @@ # Copyright (C) 2001-2003 # William E. Kempf # -# Permission to use, copy, modify, distribute and sell this software -# and its documentation for any purpose is hereby granted without fee, -# provided that the above copyright notice appear in all copies and -# that both that copyright notice and this permission notice appear -# in supporting documentation. William E. Kempf makes no representations -# about the suitability of this software for any purpose. -# It is provided "as is" without express or implied warranty. -# boostinspect:nolicense +# 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) # # Boost.Threads tutorial Jamfile # diff --git a/tutorial/bounded_buffer.cpp b/tutorial/bounded_buffer.cpp index 8fe56cab..276aaebf 100644 --- a/tutorial/bounded_buffer.cpp +++ b/tutorial/bounded_buffer.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/counter.cpp b/tutorial/counter.cpp index d963d803..a5ca0b4d 100644 --- a/tutorial/counter.cpp +++ b/tutorial/counter.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/factorial.cpp b/tutorial/factorial.cpp index 2f40507e..9dd1001d 100644 --- a/tutorial/factorial.cpp +++ b/tutorial/factorial.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/factorial2.cpp b/tutorial/factorial2.cpp index 7331ad9c..c30421bc 100644 --- a/tutorial/factorial2.cpp +++ b/tutorial/factorial2.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/factorial3.cpp b/tutorial/factorial3.cpp index 4680e629..2515bfea 100644 --- a/tutorial/factorial3.cpp +++ b/tutorial/factorial3.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/helloworld.cpp b/tutorial/helloworld.cpp index 553b96f3..5003108f 100644 --- a/tutorial/helloworld.cpp +++ b/tutorial/helloworld.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/helloworld2.cpp b/tutorial/helloworld2.cpp index 14615224..dc7a698a 100644 --- a/tutorial/helloworld2.cpp +++ b/tutorial/helloworld2.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/helloworld3.cpp b/tutorial/helloworld3.cpp index 615dc734..cd43987f 100644 --- a/tutorial/helloworld3.cpp +++ b/tutorial/helloworld3.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/helloworld4.cpp b/tutorial/helloworld4.cpp index 615dc734..cd43987f 100644 --- a/tutorial/helloworld4.cpp +++ b/tutorial/helloworld4.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/once.cpp b/tutorial/once.cpp index 49ab44b0..5a5b6f55 100644 --- a/tutorial/once.cpp +++ b/tutorial/once.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include diff --git a/tutorial/tss.cpp b/tutorial/tss.cpp index 8bffcff2..f867a918 100644 --- a/tutorial/tss.cpp +++ b/tutorial/tss.cpp @@ -1,14 +1,8 @@ // Copyright (C) 2001-2003 // William E. Kempf // -// Permission to use, copy, modify, distribute and sell this software -// and its documentation for any purpose is hereby granted without fee, -// provided that the above copyright notice appear in all copies and -// that both that copyright notice and this permission notice appear -// in supporting documentation. William E. Kempf makes no representations -// about the suitability of this software for any purpose. -// It is provided "as is" without express or implied warranty. -// boostinspect:nolicense +// 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 #include From 4dbd8a66afac9309bce89c080555a396d8393981 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Thu, 14 Sep 2006 23:02:29 +0000 Subject: [PATCH 009/170] Changed Boost.Thread to use the Boost license. [SVN r35115] --- doc/thread.xml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/thread.xml b/doc/thread.xml index 494d4352..e2638969 100644 --- a/doc/thread.xml +++ b/doc/thread.xml @@ -24,13 +24,8 @@ xmlns:xi="http://www.w3.org/2001/XInclude"> William E. Kempf - Permission to use, copy, modify, distribute and sell this - software and its documentation for any purpose is hereby granted - without fee, provided that the above copyright notice appear in all - copies and that both that copyright notice and this permission notice - appear in supporting documentation. William E. Kempf makes no - representations about the suitability of this software for any purpose. - It is provided "as is" without express or implied warranty. + Subject to the Boost Software License, Version 1.0. + (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0) Portable C++ multi-threading From b26d01c8d7311f9c82ecef0ecfc4c568c5fbad37 Mon Sep 17 00:00:00 2001 From: Roland Schwarz Date: Mon, 25 Sep 2006 23:53:10 +0000 Subject: [PATCH 010/170] Fixed on of the memory leaks related to TSS [SVN r35324] --- src/tss_hooks.cpp | 50 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 39 insertions(+), 11 deletions(-) diff --git a/src/tss_hooks.cpp b/src/tss_hooks.cpp index 33c6dc54..be4bb097 100644 --- a/src/tss_hooks.cpp +++ b/src/tss_hooks.cpp @@ -1,4 +1,5 @@ -// (C) Copyright Michael Glassford 2004. +// Copyright (C) 2004 Michael Glassford +// Copyright (C) 2006 Roland Schwarz // Use, modification and distribution are subject to 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) @@ -10,7 +11,7 @@ #include #include - #include +// #include #include #include @@ -20,15 +21,37 @@ namespace { + class CScopedCSLock + { + public: + CScopedCSLock(LPCRITICAL_SECTION cs) : cs(cs), lk(true) { + ::EnterCriticalSection(cs); + } + ~CScopedCSLock() { + if (lk) ::LeaveCriticalSection(cs); + } + void Unlock() { + lk = false; + ::LeaveCriticalSection(cs); + } + private: + bool lk; + LPCRITICAL_SECTION cs; + }; + typedef std::list thread_exit_handlers; boost::once_flag once_init_threadmon_mutex = BOOST_ONCE_INIT; - boost::mutex* threadmon_mutex; + //boost::mutex* threadmon_mutex; + // We don't use boost::mutex here, to avoid a memory leak report, + // because we cannot delete it again easily. + CRITICAL_SECTION threadmon_mutex; void init_threadmon_mutex(void) { - threadmon_mutex = new boost::mutex; - if (!threadmon_mutex) - throw boost::thread_resource_error(); + //threadmon_mutex = new boost::mutex; + //if (!threadmon_mutex) + // throw boost::thread_resource_error(); + ::InitializeCriticalSection(&threadmon_mutex); } const DWORD invalid_tls_key = TLS_OUT_OF_INDEXES; @@ -52,7 +75,8 @@ ) { boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex); - boost::mutex::scoped_lock lock(*threadmon_mutex); + //boost::mutex::scoped_lock lock(*threadmon_mutex); + CScopedCSLock lock(&threadmon_mutex); //Allocate a tls slot if necessary. @@ -118,7 +142,8 @@ extern "C" BOOST_THREAD_DECL void on_process_enter(void) { boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex); - boost::mutex::scoped_lock lock(*threadmon_mutex); +// boost::mutex::scoped_lock lock(*threadmon_mutex); + CScopedCSLock lock(&threadmon_mutex); BOOST_ASSERT(attached_thread_count == 0); } @@ -126,7 +151,8 @@ extern "C" BOOST_THREAD_DECL void on_process_exit(void) { boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex); - boost::mutex::scoped_lock lock(*threadmon_mutex); +// boost::mutex::scoped_lock lock(*threadmon_mutex); + CScopedCSLock lock(&threadmon_mutex); BOOST_ASSERT(attached_thread_count == 0); @@ -148,7 +174,8 @@ extern "C" BOOST_THREAD_DECL void on_thread_exit(void) { boost::call_once(init_threadmon_mutex, once_init_threadmon_mutex); - boost::mutex::scoped_lock lock(*threadmon_mutex); +// boost::mutex::scoped_lock lock(*threadmon_mutex); + CScopedCSLock lock(&threadmon_mutex); //Get the exit handlers list for the current thread from tls. @@ -165,7 +192,8 @@ BOOST_ASSERT(attached_thread_count > 0); --attached_thread_count; - lock.unlock(); + //lock.unlock(); + lock.Unlock(); //Call each handler and remove it from the list From b8c8b250b1b94e598bb8e3862a04afbf4d3edddb Mon Sep 17 00:00:00 2001 From: Roland Schwarz Date: Tue, 26 Sep 2006 03:05:06 +0000 Subject: [PATCH 011/170] Removed try catch(...) from thread proxy [SVN r35328] --- src/thread.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/thread.cpp b/src/thread.cpp index 3ac10182..67d5870c 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -100,8 +100,8 @@ extern "C" { static OSStatus thread_proxy(void* param) #endif { - try - { + //try + //{ thread_param* p = static_cast(param); boost::function0 threadfunc = p->m_threadfunc; p->started(); @@ -109,13 +109,13 @@ extern "C" { #if defined(BOOST_HAS_WINTHREADS) on_thread_exit(); #endif - } - catch (...) - { + //} + //catch (...) + //{ #if defined(BOOST_HAS_WINTHREADS) - on_thread_exit(); + // on_thread_exit(); #endif - } + //} #if defined(BOOST_HAS_MPTASKS) ::boost::detail::thread_cleanup(); #endif From 78b4fe3d07c9c87473dfbc35516eaf8ae5731a3a Mon Sep 17 00:00:00 2001 From: Roland Schwarz Date: Fri, 29 Sep 2006 07:36:49 +0000 Subject: [PATCH 012/170] avoid complaints of boostinspect about unnamed namespace usage [SVN r35411] --- src/mutex.inl | 2 ++ src/timeconv.inl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mutex.inl b/src/mutex.inl index 3a279666..9bcc7ee5 100644 --- a/src/mutex.inl +++ b/src/mutex.inl @@ -4,6 +4,8 @@ // 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) +// boostinspect:nounnamed + namespace { #if defined(BOOST_HAS_WINTHREADS) diff --git a/src/timeconv.inl b/src/timeconv.inl index 47314619..5ec3b179 100644 --- a/src/timeconv.inl +++ b/src/timeconv.inl @@ -4,6 +4,8 @@ // 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) +// boostinspect:nounnamed + namespace { const int MILLISECONDS_PER_SECOND = 1000; const int NANOSECONDS_PER_SECOND = 1000000000; From fbbc52063a9a744e30d7203219df12ca1a74675a Mon Sep 17 00:00:00 2001 From: Roland Schwarz Date: Fri, 29 Sep 2006 07:49:51 +0000 Subject: [PATCH 013/170] avoid complaints of boostinspect about unnamed namespace usage [SVN r35412] --- test/util.inl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/util.inl b/test/util.inl index 9a6676b9..32e7c77a 100644 --- a/test/util.inl +++ b/test/util.inl @@ -16,6 +16,8 @@ # define DEFAULT_EXECUTION_MONITOR_TYPE execution_monitor::use_condition #endif +// boostinspect:nounnamed + namespace { inline boost::xtime delay(int secs, int msecs=0, int nsecs=0) From c376c1a62aac628fc50d2d4154ab1de831755b7c Mon Sep 17 00:00:00 2001 From: Roland Schwarz Date: Sun, 1 Oct 2006 12:57:18 +0000 Subject: [PATCH 014/170] Removed the "intentional memory leak" of the TSS implementation. [SVN r35434] --- example/Jamfile | 2 +- include/boost/thread/tss.hpp | 16 ++++- src/tss.cpp | 129 +++++++++++++++++++++++------------ 3 files changed, 102 insertions(+), 45 deletions(-) diff --git a/example/Jamfile b/example/Jamfile index dc499a85..3bb7a90f 100644 --- a/example/Jamfile +++ b/example/Jamfile @@ -28,7 +28,7 @@ import ../build/threads ; template example ## sources ## :