b4e9be3c52Added missing relative time constructor to unique_lock
Anthony Williams
2008-08-19 10:26:53 +0000
dcebae6d4aRenamed internal bind stuff to invoker, as more expressive
Anthony Williams
2008-08-19 07:03:22 +0000
8749696538Merged Thread doc changes from trunk
Anthony Williams
2008-08-08 20:38:50 +0000
0d776bcd26Updated changes list
Anthony Williams
2008-08-08 20:37:30 +0000
2d6ed47cf2Updated signature of create_thread
Anthony Williams
2008-08-08 20:21:29 +0000
9beea23f63Merged thread doc changes from trunk
Anthony Williams
2008-07-26 08:39:51 +0000
ea06434425Doc updates missed by previous checkin
Anthony Williams
2008-07-26 08:37:55 +0000
6508eff95eAdded note about max number of arguments
Anthony Williams
2008-07-25 22:22:58 +0000
69930684a9Added a description for the new thread constructors that allow functions with arguments.
Anthony Williams
2008-07-25 22:21:05 +0000
b1931a3edaFix for trac issue #2118
Anthony Williams
2008-07-25 22:01:04 +0000
63b44d4e32Added documentation for the lock and try_lock free functions
Anthony Williams
2008-07-25 21:57:33 +0000
f7cb8d8141Added a description for the scoped_try_lock typedefs
Anthony Williams
2008-07-25 21:30:37 +0000
48c857e02cFix for issue #2105: specify which header to include for each class or function
Anthony Williams
2008-07-25 21:12:29 +0000
2978d43a5dMerged thread doc changes from trunk
Anthony Williams
2008-07-23 09:37:02 +0000
a264766584Merged changes over from trunk
Anthony Williams
2008-07-23 09:35:40 +0000
442dc58e0fUse sysconf(_SC_NPROCESSORS_ONLN) where it is available, as a fallback
Anthony Williams
2008-07-21 10:39:50 +0000
25460c652cUse sysconf to detect number of processors on AIX too
Anthony Williams
2008-07-21 10:25:08 +0000
31a98f0a1eBOOST_NO_SFINAE isn't enough to identify compilers that can't auto-detect mutexes, so create a new macro for that, and add IBM and Sun compilers to list
Anthony Williams
2008-07-21 10:04:26 +0000
36c44b6f45Borland-specific fixes should apply to all compilers for which enable_if is broken: check for BOOST_NO_SFINAE instead
Anthony Williams
2008-07-18 13:42:10 +0000
27426b18d1Split lock and try_lock into mutex and range overloads without using enable_if, so it works on Borland compilers
Anthony Williams
2008-07-16 14:41:09 +0000
3ea9ce1c8cFixes to make basic thread functionality work with Borland compilers again
Anthony Williams
2008-07-16 13:19:43 +0000
f03a9bfcf3Merged thread changes from trunk
Anthony Williams
2008-07-08 07:44:55 +0000
4dfc636c84test and fix for issue #2080
Anthony Williams
2008-07-07 22:19:28 +0000
5fe4312c6ctest and fix for issue #2081
Anthony Williams
2008-07-07 22:04:10 +0000
63e675a6bbCorrected description to avoid reference to arguments
Anthony Williams
2008-07-07 07:30:27 +0000
e92aeac7d7Added notify functions to class synopsis
Anthony Williams
2008-07-07 07:28:32 +0000
f1f7eac1f2Backwards compatibility with xtime --- test and fix for issue #2052
Anthony Williams
2008-07-06 21:58:11 +0000
eff0c84553Test and fix for issue #2076
Anthony Williams
2008-07-05 21:55:36 +0000
58c8ce61c7Fix for issue #2065
Anthony Williams
2008-07-04 15:45:52 +0000
6ac5e6953aQualify everything with boost:: to try and avoid name clashes on AIX
Anthony Williams
2008-07-04 07:30:35 +0000
5d9ad59af2Use rvalue refs for move semantics of unique_lock where available
Anthony Williams
2008-07-03 09:16:49 +0000
3c48a05437Added try_lock_upgrade to shared_mutex: second half of #1867 fix
Anthony Williams
2008-07-01 16:28:06 +0000
4462124ff2Added try_lock_upgrade to shared_mutex: second half of #1867 fix
Anthony Williams
2008-07-01 16:27:59 +0000
373f557ef7Reduced thread counts to make tests run faster
Anthony Williams
2008-07-01 16:22:47 +0000
495e561398Partial fix for issue #1867 - ensure boost::shared_mutex supports try_lock
Anthony Williams
2008-07-01 16:04:51 +0000
d24a579033Partial fix for issue #1867 - ensure boost::shared_mutex supports try_lock
Anthony Williams
2008-07-01 16:04:43 +0000
77130424b4Removed tabs from source files
Anthony Williams
2008-06-26 06:43:30 +0000
eb30688937Added license and copyright to docs
Anthony Williams
2008-06-26 06:41:00 +0000
880bac0633Added missing include of detail/config.hpp
Anthony Williams
2008-06-23 12:14:58 +0000
60fdcddcb5Merge of new boost.thread code along with required changes from boost.bind
Anthony Williams
2008-06-18 13:01:08 +0000
851d6a987fCorrectly remove the reference type when copying the thread function into the thread data area so we don't end up with a dangling reference
Anthony Williams
2008-06-10 15:29:35 +0000
9bebd7b35fDisable general templated thread constructor for movable types, in order to prevent it trying to act as a thread copy constructor for EDG based compilers
Anthony Williams
2008-06-09 14:00:03 +0000
309acb9597Don't try and use _interlockedbittestandset primitives if we don't know they're present
Anthony Williams
2008-06-07 20:54:19 +0000
a56887167eAdded swap for try_lock_wrapper
Anthony Williams
2008-06-05 12:25:58 +0000
e984dff4e4Combined TSS header for pthread and win32, #1958 now fixed for pthread too
Anthony Williams
2008-06-05 11:19:06 +0000
685e4d446bTest and fix for bug #1958 on Win32
Anthony Williams
2008-06-05 11:16:05 +0000
8af680f307Added swap for unique_lock
Anthony Williams
2008-06-05 10:39:08 +0000
6c60cce60dRemoved partial initializer for res: both values will be assigned later, so no need to initialize either
Anthony Williams
2008-06-04 16:05:29 +0000
5882a675bbAdded extra initializer to timeout to try and eliminate warnings with some compilers
Anthony Williams
2008-06-04 16:03:51 +0000
a5e95845b3Added documentation for swap()
Anthony Williams
2008-06-04 16:00:13 +0000
5b83d81e40Added free function swap() for threads
Anthony Williams
2008-06-04 15:50:34 +0000
c8e5ad564dbasic_condition_variable::lock_entry extracted to basic_cv_lock_entry in order to try and eliminate problems on Borland compiler
Anthony Williams
2008-06-03 20:56:39 +0000
5edfa273ffremoved unused header
Anthony Williams
2008-06-03 20:55:40 +0000
4db57bcb10Move thread_data to detail namespace rather than have it as a nested type of boost::thread, to try and help compilers that have problems with the partial specializations for reference_wrapper
Anthony Williams
2008-05-29 15:38:08 +0000
3f13340903Don't construct function objects directly in boost::thread constructor as some compilers can't handle that.
Anthony Williams
2008-05-29 15:36:52 +0000
6abb53c9d3Move definition of constructor and destructor of condition_variable into condition_variable_fwd.hpp, so they are always available
Anthony Williams
2008-05-29 15:16:55 +0000
fdd20a519eUse wrapper functions in try_lock_wrapper rather than using declarations, as the latter confuse some compilers
Anthony Williams
2008-05-29 15:16:04 +0000
67cc49f333More tests for generic locks, and a new range version
Anthony Williams
2008-05-29 09:02:05 +0000
31a34cd0b5Added missing "no"
Anthony Williams
2008-05-28 14:50:25 +0000
ef8c08ba99Removed surplus "the"
Anthony Williams
2008-05-28 12:55:30 +0000
2991ca6c6fAdded abi prefix and suffix headers
Anthony Williams
2008-05-28 11:02:06 +0000
52bace18b2hardware_concurrency works for CYGWIN
Anthony Williams
2008-05-28 09:38:14 +0000
767d14ae4fAdded documentation for time support in the thread library
Anthony Williams
2008-05-28 09:00:32 +0000
1a5c911e36Added documentation for time support in the thread library
Anthony Williams
2008-05-28 09:00:23 +0000
6e42a04e43Added note about move support
Anthony Williams
2008-05-28 08:09:07 +0000
28be2cfeefintrusive_ptr_add_ref and intrusive_ptr_release need to be inline if defined in the header
Anthony Williams
2008-05-27 06:32:05 +0000
8be168fd87Basic tests for lock() when other thread is acquiring locks in same or opposite order
Anthony Williams
2008-05-26 08:59:48 +0000
eee95fef57Initial test for generic lock functions
Anthony Williams
2008-05-26 08:40:21 +0000
9ea179b052Initial test for generic lock functions
Anthony Williams
2008-05-26 08:40:13 +0000
6868280409Try and avoid compile errors in test_thread_callable_object_one_argument
Anthony Williams
2008-05-26 07:36:16 +0000
e00b764454The signature of _interlockedbittestandset changes between MSVC 2005 and MSVC 2008
Anthony Williams
2008-05-23 19:53:06 +0000
999613c686Added note about mutex not being recursive
Anthony Williams
2008-05-23 19:33:18 +0000
c2661d7eb5define intrusive_ptr_add_ref and intrusive_ptr_release at namespace scope rather than inline as friends in order to try and avoid compiler problems
Anthony Williams
2008-05-23 15:18:19 +0000
4d21dd1f47try_lock_wrapper implements operator! in order to try and avoid compiler problems
Anthony Williams
2008-05-23 15:17:14 +0000
a0a0e57527Fixed #ifdef to actually use BTS primitives on MSVC 9
Anthony Williams
2008-05-23 13:16:01 +0000
d8af0d0b4eReset thread_info on move rather than assigning 0
Anthony Williams
2008-05-23 10:48:07 +0000
113288e3b0tidying up move
Anthony Williams
2008-05-22 16:33:34 +0000
afecfd7c2dRefactored boost::thread code to try and remove duplication
Anthony Williams
2008-05-22 11:49:48 +0000
94d89aac5fmore rvalue reference stuff
Anthony Williams
2008-05-21 21:11:30 +0000
8831b13efcUse lock_guard<> instead of unique_lock<> internally. Clear out generations after notify_all, as they're all notified
Anthony Williams
2008-05-21 21:10:45 +0000
01f99da03aExtended boost::thread to 9 arguments, hopefully fixed member function ambiguity.
Peter Dimov
2008-05-21 20:44:08 +0000
080654e3efNew tests for a normal function with one argument, and a member function with 0 or 1 arguments
Anthony Williams
2008-05-21 13:38:04 +0000
2ac2eb2a61try_lock_wrapper has its own operator bool_type to avoid problems with a using declaration
Anthony Williams
2008-05-21 10:39:47 +0000
61b940b705Renamed namespace user to user_test_ns to try and avoid a name clash on some platforms
Anthony Williams
2008-05-21 09:51:53 +0000
4a4f87e017support for a generic lock() function
Anthony Williams
2008-05-18 09:10:20 +0000
6d5e7f63a7Added beginnings of real rvalue-reference support
Anthony Williams
2008-05-18 08:45:44 +0000
f77285f375Updated docs to make it explicit that terminate is called if a thread function throws an exception
Anthony Williams
2008-05-12 09:04:02 +0000
dc5d03a6dcCleaned up to remove warnings
Anthony Williams
2008-05-09 07:59:57 +0000
ea0961b7f6Fixed type truncation warning
Anthony Williams
2008-05-09 07:49:22 +0000
33d9f9774cTest and fix for bug #1905
Anthony Williams
2008-05-09 07:48:44 +0000
86097fa038Use _WIN32 rather than WIN32 to prevent include of <unistd.h>
Anthony Williams
2008-05-09 07:47:14 +0000
70d9dbc45aAdded default constructor to lock types
Anthony Williams
2008-05-08 14:34:40 +0000
3926fd3a20Added docs for native_handle
Anthony Williams
2008-05-08 12:59:59 +0000
7861cf1146Added native_handle to mutex types where possible
Anthony Williams
2008-05-08 12:59:10 +0000
0516b86a6enew BTS-based mutex implementation on win32
Anthony Williams
2008-05-04 22:39:52 +0000
ec735d3e9bSimplified move support
Anthony Williams
2008-05-04 09:52:54 +0000
1c5c070983Updated locks.hpp to work with gcc as well as msvc
Anthony Williams
2008-04-28 12:26:27 +0000
a5c02b73dcAdded entry to breaking changes about default-constructed threads and the current thread: issue #1835
Anthony Williams
2008-04-28 09:10:38 +0000
918b920670Added detail::try_lock_wrapper for use as scoped_try_lock typedefs, to fix issue #1873
Anthony Williams
2008-04-28 09:00:58 +0000
de67d2e27eFixed g++ compile error
Anthony Williams
2008-04-26 07:34:46 +0000