Anthony Williams
|
09021af350
|
Changed thread_specific_ptr to use a map for faster lookup, and erase empty nodes
[SVN r53389]
|
2009-05-29 11:34:25 +00:00 |
|
Anthony Williams
|
629f344f34
|
Test and fix for first part of issue #2797
[SVN r53387]
|
2009-05-29 10:57:39 +00:00 |
|
Anthony Williams
|
9be3eb282a
|
Attempts to improve the boost::thread move semantics; separated tests to give clearer ID; incorporated patch to fix issue #2062
[SVN r53385]
|
2009-05-29 09:57:15 +00:00 |
|
Anthony Williams
|
f2f62f93ea
|
Test and fix for trac issue #2380: return boost::move(some_thread) now works
[SVN r49112]
|
2008-10-02 16:39:03 +00:00 |
|
Anthony Williams
|
8a329f66fb
|
Renamed lock variables to lk to avoid name shadow warnings
[SVN r49013]
|
2008-09-29 16:32:24 +00:00 |
|
Anthony Williams
|
05d4c52918
|
fixed check on return code from pthread_mutex_timedlock
[SVN r48997]
|
2008-09-29 09:04:13 +00:00 |
|
Anthony Williams
|
a154c2adab
|
Removed locked and get_active_count
[SVN r48531]
|
2008-09-02 10:38:17 +00:00 |
|
Anthony Williams
|
10bf4ed576
|
Removed locked and get_active_count
[SVN r48530]
|
2008-09-02 10:38:04 +00:00 |
|
Anthony Williams
|
b4e9be3c52
|
Added missing relative time constructor to unique_lock
[SVN r48213]
|
2008-08-19 10:26:53 +00:00 |
|
Anthony Williams
|
31a98f0a1e
|
BOOST_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
[SVN r47652]
|
2008-07-21 10:04:26 +00:00 |
|
Anthony Williams
|
36c44b6f45
|
Borland-specific fixes should apply to all compilers for which enable_if is broken: check for BOOST_NO_SFINAE instead
[SVN r47554]
|
2008-07-18 13:42:10 +00:00 |
|
Anthony Williams
|
27426b18d1
|
Split lock and try_lock into mutex and range overloads without using enable_if, so it works on Borland compilers
[SVN r47472]
|
2008-07-16 14:41:09 +00:00 |
|
Anthony Williams
|
3ea9ce1c8c
|
Fixes to make basic thread functionality work with Borland compilers again
[SVN r47471]
|
2008-07-16 13:19:43 +00:00 |
|
Anthony Williams
|
4dfc636c84
|
test and fix for issue #2080
[SVN r47199]
|
2008-07-07 22:19:28 +00:00 |
|
Anthony Williams
|
5fe4312c6c
|
test and fix for issue #2081
[SVN r47197]
|
2008-07-07 22:04:10 +00:00 |
|
Anthony Williams
|
f1f7eac1f2
|
Backwards compatibility with xtime --- test and fix for issue #2052
[SVN r47149]
|
2008-07-06 21:58:11 +00:00 |
|
Anthony Williams
|
eff0c84553
|
Test and fix for issue #2076
[SVN r47120]
|
2008-07-05 21:55:36 +00:00 |
|
Anthony Williams
|
58c8ce61c7
|
Fix for issue #2065
[SVN r47077]
|
2008-07-04 15:45:52 +00:00 |
|
Anthony Williams
|
5d9ad59af2
|
Use rvalue refs for move semantics of unique_lock where available
[SVN r47033]
|
2008-07-03 09:16:49 +00:00 |
|
Anthony Williams
|
4462124ff2
|
Added try_lock_upgrade to shared_mutex: second half of #1867 fix
[SVN r46960]
|
2008-07-01 16:27:59 +00:00 |
|
Anthony Williams
|
495e561398
|
Partial fix for issue #1867 - ensure boost::shared_mutex supports try_lock
[SVN r46956]
|
2008-07-01 16:04:51 +00:00 |
|
Anthony Williams
|
77130424b4
|
Removed tabs from source files
[SVN r46706]
|
2008-06-26 06:43:30 +00:00 |
|
Anthony Williams
|
880bac0633
|
Added missing include of detail/config.hpp
[SVN r46624]
|
2008-06-23 12:14:58 +00:00 |
|
Anthony Williams
|
851d6a987f
|
Correctly remove the reference type when copying the thread function into the thread data area so we don't end up with a dangling reference
[SVN r46295]
|
2008-06-10 15:29:35 +00:00 |
|
Anthony Williams
|
9bebd7b35f
|
Disable general templated thread constructor for movable types, in order to prevent it trying to act as a thread copy constructor for EDG based compilers
[SVN r46273]
|
2008-06-09 14:00:03 +00:00 |
|
Anthony Williams
|
309acb9597
|
Don't try and use _interlockedbittestandset primitives if we don't know they're present
[SVN r46219]
|
2008-06-07 20:54:19 +00:00 |
|
Anthony Williams
|
a56887167e
|
Added swap for try_lock_wrapper
[SVN r46164]
|
2008-06-05 12:25:58 +00:00 |
|
Anthony Williams
|
e984dff4e4
|
Combined TSS header for pthread and win32, #1958 now fixed for pthread too
[SVN r46162]
|
2008-06-05 11:19:06 +00:00 |
|
Anthony Williams
|
685e4d446b
|
Test and fix for bug #1958 on Win32
[SVN r46161]
|
2008-06-05 11:16:05 +00:00 |
|
Anthony Williams
|
8af680f307
|
Added swap for unique_lock
[SVN r46160]
|
2008-06-05 10:39:08 +00:00 |
|
Anthony Williams
|
6c60cce60d
|
Removed partial initializer for res: both values will be assigned later, so no need to initialize either
[SVN r46124]
|
2008-06-04 16:05:29 +00:00 |
|
Anthony Williams
|
5882a675bb
|
Added extra initializer to timeout to try and eliminate warnings with some compilers
[SVN r46123]
|
2008-06-04 16:03:51 +00:00 |
|
Anthony Williams
|
5b83d81e40
|
Added free function swap() for threads
[SVN r46121]
|
2008-06-04 15:50:34 +00:00 |
|
Anthony Williams
|
c8e5ad564d
|
basic_condition_variable::lock_entry extracted to basic_cv_lock_entry in order to try and eliminate problems on Borland compiler
[SVN r46094]
|
2008-06-03 20:56:39 +00:00 |
|
Anthony Williams
|
5edfa273ff
|
removed unused header
[SVN r46093]
|
2008-06-03 20:55:40 +00:00 |
|
Anthony Williams
|
4db57bcb10
|
Move 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
[SVN r45912]
|
2008-05-29 15:38:08 +00:00 |
|
Anthony Williams
|
6abb53c9d3
|
Move definition of constructor and destructor of condition_variable into condition_variable_fwd.hpp, so they are always available
[SVN r45909]
|
2008-05-29 15:16:55 +00:00 |
|
Anthony Williams
|
fdd20a519e
|
Use wrapper functions in try_lock_wrapper rather than using declarations, as the latter confuse some compilers
[SVN r45908]
|
2008-05-29 15:16:04 +00:00 |
|
Anthony Williams
|
67cc49f333
|
More tests for generic locks, and a new range version
[SVN r45897]
|
2008-05-29 09:02:05 +00:00 |
|
Anthony Williams
|
2991ca6c6f
|
Added abi prefix and suffix headers
[SVN r45865]
|
2008-05-28 11:02:06 +00:00 |
|
Anthony Williams
|
28be2cfeef
|
intrusive_ptr_add_ref and intrusive_ptr_release need to be inline if defined in the header
[SVN r45809]
|
2008-05-27 06:32:05 +00:00 |
|
Anthony Williams
|
e00b764454
|
The signature of _interlockedbittestandset changes between MSVC 2005 and MSVC 2008
[SVN r45689]
|
2008-05-23 19:53:06 +00:00 |
|
Anthony Williams
|
c2661d7eb5
|
define intrusive_ptr_add_ref and intrusive_ptr_release at namespace scope rather than inline as friends in order to try and avoid compiler problems
[SVN r45682]
|
2008-05-23 15:18:19 +00:00 |
|
Anthony Williams
|
4d21dd1f47
|
try_lock_wrapper implements operator! in order to try and avoid compiler problems
[SVN r45681]
|
2008-05-23 15:17:14 +00:00 |
|
Anthony Williams
|
a0a0e57527
|
Fixed #ifdef to actually use BTS primitives on MSVC 9
[SVN r45676]
|
2008-05-23 13:16:01 +00:00 |
|
Anthony Williams
|
d8af0d0b4e
|
Reset thread_info on move rather than assigning 0
[SVN r45672]
|
2008-05-23 10:48:07 +00:00 |
|
Anthony Williams
|
113288e3b0
|
tidying up move
[SVN r45661]
|
2008-05-22 16:33:34 +00:00 |
|
Anthony Williams
|
afecfd7c2d
|
Refactored boost::thread code to try and remove duplication
[SVN r45647]
|
2008-05-22 11:49:48 +00:00 |
|
Anthony Williams
|
94d89aac5f
|
more rvalue reference stuff
[SVN r45626]
|
2008-05-21 21:11:30 +00:00 |
|
Anthony Williams
|
8831b13efc
|
Use lock_guard<> instead of unique_lock<> internally. Clear out generations after notify_all, as they're all notified
[SVN r45625]
|
2008-05-21 21:10:45 +00:00 |
|
Peter Dimov
|
01f99da03a
|
Extended boost::thread to 9 arguments, hopefully fixed member function ambiguity.
[SVN r45621]
|
2008-05-21 20:44:08 +00:00 |
|
Anthony Williams
|
2ac2eb2a61
|
try_lock_wrapper has its own operator bool_type to avoid problems with a using declaration
[SVN r45602]
|
2008-05-21 10:39:47 +00:00 |
|
Anthony Williams
|
4a4f87e017
|
support for a generic lock() function
[SVN r45481]
|
2008-05-18 09:10:20 +00:00 |
|
Anthony Williams
|
6d5e7f63a7
|
Added beginnings of real rvalue-reference support
[SVN r45479]
|
2008-05-18 08:45:44 +00:00 |
|
Anthony Williams
|
dc5d03a6dc
|
Cleaned up to remove warnings
[SVN r45244]
|
2008-05-09 07:59:57 +00:00 |
|
Anthony Williams
|
ea0961b7f6
|
Fixed type truncation warning
[SVN r45243]
|
2008-05-09 07:49:22 +00:00 |
|
Anthony Williams
|
33d9f9774c
|
Test and fix for bug #1905
[SVN r45242]
|
2008-05-09 07:48:44 +00:00 |
|
Anthony Williams
|
86097fa038
|
Use _WIN32 rather than WIN32 to prevent include of <unistd.h>
[SVN r45241]
|
2008-05-09 07:47:14 +00:00 |
|
Anthony Williams
|
70d9dbc45a
|
Added default constructor to lock types
[SVN r45212]
|
2008-05-08 14:34:40 +00:00 |
|
Anthony Williams
|
7861cf1146
|
Added native_handle to mutex types where possible
[SVN r45210]
|
2008-05-08 12:59:10 +00:00 |
|
Anthony Williams
|
0516b86a6e
|
new BTS-based mutex implementation on win32
[SVN r45119]
|
2008-05-04 22:39:52 +00:00 |
|
Anthony Williams
|
ec735d3e9b
|
Simplified move support
[SVN r45108]
|
2008-05-04 09:52:54 +00:00 |
|
Anthony Williams
|
1c5c070983
|
Updated locks.hpp to work with gcc as well as msvc
[SVN r44846]
|
2008-04-28 12:26:27 +00:00 |
|
Anthony Williams
|
918b920670
|
Added detail::try_lock_wrapper for use as scoped_try_lock typedefs, to fix issue #1873
[SVN r44838]
|
2008-04-28 09:00:58 +00:00 |
|
Anthony Williams
|
de67d2e27e
|
Fixed g++ compile error
[SVN r44773]
|
2008-04-26 07:34:46 +00:00 |
|
Anthony Williams
|
bc89df04cb
|
Revamped condition variable to try and fix swallowed-notify problems (trac issue #1834)
[SVN r44699]
|
2008-04-21 16:22:16 +00:00 |
|
Anthony Williams
|
c26a4cf082
|
added private copy assignment operator and copy constructor to remove warnings
[SVN r44698]
|
2008-04-21 16:20:31 +00:00 |
|
Anthony Williams
|
f91986ad0d
|
Added extended adopt/defer/try constructors to upgrade_lock
[SVN r44370]
|
2008-04-13 15:50:08 +00:00 |
|
Anthony Williams
|
795cc23f3e
|
Added test and fix for win32 condition_variable broadcast bug similar to #1803
[SVN r44168]
|
2008-04-11 08:52:09 +00:00 |
|
Anthony Williams
|
a3695bd4a0
|
Updated thread.hpp as catch-all header
[SVN r44153]
|
2008-04-10 18:34:42 +00:00 |
|
Anthony Williams
|
08dc521daf
|
Added native_handle to condition_variable on pthreads
[SVN r44152]
|
2008-04-10 15:52:01 +00:00 |
|
Anthony Williams
|
c40f47a78a
|
added overloads of timed_lock_shared with a relative timeout to shared_mutex
[SVN r44149]
|
2008-04-10 14:07:39 +00:00 |
|
Anthony Williams
|
e9fb470b06
|
Added native_handle to thread on posix platforms
[SVN r44148]
|
2008-04-10 13:35:07 +00:00 |
|
Anthony Williams
|
343d049772
|
fix for trac ticket #1804
[SVN r44147]
|
2008-04-10 13:27:44 +00:00 |
|
Anthony Williams
|
86f9480da4
|
fix for notify problem in trac ticket #1803
[SVN r44146]
|
2008-04-10 13:14:43 +00:00 |
|
Anthony Williams
|
58d5110e61
|
removed forward declaration for undefined type exclusive_lock
[SVN r43847]
|
2008-03-24 21:44:36 +00:00 |
|
Anthony Williams
|
76e53c7bc5
|
Removed some warnings: those from issue #1640 and others
[SVN r43730]
|
2008-03-19 17:25:13 +00:00 |
|
Anthony Williams
|
b5bbb7fb1c
|
Test and fix for bug #1693 to ensure thread_specific_ptr works as desired
[SVN r43666]
|
2008-03-17 08:36:09 +00:00 |
|
Anthony Williams
|
810306b8f3
|
thread constructor now accepts up to three additional arguments to pass to thread function
[SVN r43464]
|
2008-03-03 10:52:44 +00:00 |
|
Anthony Williams
|
6c22bdb3bd
|
Test and fix for issue #1665
[SVN r43461]
|
2008-03-03 08:44:42 +00:00 |
|
Anthony Williams
|
3809321037
|
added test for duration overloads of timed_lock, and added missing implementation to win32 version
[SVN r43094]
|
2008-02-04 13:16:32 +00:00 |
|
Anthony Williams
|
ab01ab1e4d
|
removed references to NULL
[SVN r42657]
|
2008-01-10 14:19:36 +00:00 |
|
Anthony Williams
|
713d0c7ace
|
Updated thread ID, and added tests
[SVN r42166]
|
2007-12-19 10:39:45 +00:00 |
|
Anthony Williams
|
25ad6e3f8f
|
boost::move support for locks
[SVN r42118]
|
2007-12-17 12:52:50 +00:00 |
|
Anthony Williams
|
a89c4f01ad
|
explicit move functions for threads, with a test
[SVN r42087]
|
2007-12-15 22:36:43 +00:00 |
|
Anthony Williams
|
ae67099633
|
added timed_wait overloads that take a duration
[SVN r42086]
|
2007-12-15 22:34:30 +00:00 |
|
Anthony Williams
|
ed050d753d
|
added missing include of detail/config.hpp
[SVN r41738]
|
2007-12-05 08:27:44 +00:00 |
|
Anthony Williams
|
7c68e190a9
|
Added test for thread move constructor; implemented move on pthreads
[SVN r41686]
|
2007-12-04 13:02:58 +00:00 |
|
Anthony Williams
|
11e0435a4b
|
don't dllexport/dllimport inline functions
[SVN r41683]
|
2007-12-04 11:44:25 +00:00 |
|
Anthony Williams
|
56d660b7fd
|
changed boost::move to boost::detail::thread_move to fix issue #1492
[SVN r41681]
|
2007-12-04 09:15:37 +00:00 |
|
Anthony Williams
|
792958e693
|
fixed typo in condition_variable_any::timed_wait
[SVN r41679]
|
2007-12-04 07:57:23 +00:00 |
|
Anthony Williams
|
914e67dc04
|
check predicate before returning if we time out on a predicated version of timed_wait
[SVN r41668]
|
2007-12-03 22:00:26 +00:00 |
|
Anthony Williams
|
b50a7ccb61
|
interruptible_wait (and hence condition timed_wait) now uses a WaitableTimer where possible, to be robust in the face of clock changes
[SVN r41505]
|
2007-11-30 18:38:21 +00:00 |
|
Anthony Williams
|
f827709d42
|
add support for relative timeouts to condition timed_wait
[SVN r41413]
|
2007-11-27 14:24:29 +00:00 |
|
Anthony Williams
|
36abb42175
|
reverted accidental checkin of new timed_wait functions on condition_variable
[SVN r41405]
|
2007-11-26 21:15:04 +00:00 |
|
Anthony Williams
|
40f3b1b4c8
|
once_flag uses zero-initialization on POSIX as well as windows
[SVN r41401]
|
2007-11-26 17:01:08 +00:00 |
|
Anthony Williams
|
4f35e25688
|
fixed import/export declarations so new once code works with pthread-win32
[SVN r41398]
|
2007-11-26 15:44:07 +00:00 |
|
Anthony Williams
|
332dd988e4
|
Integrate TSS with thread data; test to ensure cleanup done for native threads as well as boost::thread-launched threads now runs for pthread API as well as win32 API
[SVN r41320]
|
2007-11-23 23:09:36 +00:00 |
|
Anthony Williams
|
bce8db41d7
|
Removed thread::self in favour of allowing interruption through a thread::id; no longer requires DuplicateHandle
[SVN r41311]
|
2007-11-22 22:01:30 +00:00 |
|
Anthony Williams
|
f6fd70245d
|
changed platform split to allow bjam to track includes and check dependencies
[SVN r41273]
|
2007-11-21 10:44:22 +00:00 |
|
Anthony Williams
|
4ff0a055d6
|
added copyright
[SVN r41226]
|
2007-11-19 14:29:22 +00:00 |
|
Anthony Williams
|
c9140267a5
|
fixed problems with TSS cleanup when using LoadLibrary and when threads finish after thread_specific_ptr instance has been destroyed
[SVN r41223]
|
2007-11-19 12:29:14 +00:00 |
|
Beman Dawes
|
9c8e512edd
|
// Add or correct comment identifying Boost library this header is associated with.
[SVN r41173]
|
2007-11-17 20:13:16 +00:00 |
|
Anthony Williams
|
3c191af34a
|
New implementation of pthread_once based on Mike Burrows' algorithm
[SVN r41160]
|
2007-11-16 22:51:52 +00:00 |
|
Anthony Williams
|
5994abd453
|
fixes for pthread implementation
[SVN r41090]
|
2007-11-14 14:49:58 +00:00 |
|
Anthony Williams
|
114215088a
|
interrupt and join all threads in a group if an exception is thrown during a test
[SVN r41084]
|
2007-11-14 11:56:53 +00:00 |
|
Anthony Williams
|
519ed3834e
|
Integrated TSS with storage of thread data; cleaned up the heap allocation functions to throw bad_alloc if they run out of memory
[SVN r41056]
|
2007-11-13 09:27:11 +00:00 |
|
Anthony Williams
|
5de1582a0a
|
Added missing licence and copyright
[SVN r40884]
|
2007-11-07 12:10:17 +00:00 |
|
Anthony Williams
|
89f2032c0d
|
Use pthread_equal for comparing pthread_t IDs; use BOOST_VERIFY instead of BOOST_ASSERT in many places in order to avoid unused variable warnings
[SVN r40787]
|
2007-11-05 14:16:21 +00:00 |
|
Roland Schwarz
|
9f6b5d169a
|
Get rid of "unsused variable" warnings by making use of BOOST_VERIFY.
This changeset is for pthread only.
[SVN r40742]
|
2007-11-04 17:17:01 +00:00 |
|
Anthony Williams
|
e56708d4aa
|
added missing include
[SVN r40730]
|
2007-11-03 22:00:12 +00:00 |
|
Anthony Williams
|
304156c20e
|
Fixed typo with interruption change
[SVN r40692]
|
2007-11-02 18:19:49 +00:00 |
|
Anthony Williams
|
31e1566e1d
|
renamed cancellation to interruption
[SVN r40685]
|
2007-11-02 14:58:48 +00:00 |
|
Anthony Williams
|
3908637056
|
rewrite xtime_get in terms of get_system_time to ensure clock consistency, and fix Borland test failures
[SVN r40680]
|
2007-11-02 11:47:56 +00:00 |
|
Anthony Williams
|
abee301f3d
|
Added changes from David Deakins to enable compilation on Windows CE
[SVN r40679]
|
2007-11-02 09:17:02 +00:00 |
|
Anthony Williams
|
3513eaf701
|
added timed_join to thread
[SVN r40653]
|
2007-11-01 18:04:55 +00:00 |
|
Anthony Williams
|
08a840afe4
|
shared_mutex lock functions are not cancellation points
[SVN r40650]
|
2007-11-01 17:18:54 +00:00 |
|
Anthony Williams
|
370f5d461c
|
condition wait and sleep are now cancellation points
[SVN r40647]
|
2007-11-01 17:07:47 +00:00 |
|
Anthony Williams
|
8efc8458e1
|
Added specialization for reference_wrapper to allow use of boost::ref with boost::thread (again)
[SVN r40609]
|
2007-10-30 17:16:24 +00:00 |
|
Anthony Williams
|
1d5bbd11a8
|
disable_cancellation and restore_cancellation need to be declared BOOST_THREAD_DECL to work with DLLs with pthread-win32
[SVN r40477]
|
2007-10-26 09:53:10 +00:00 |
|
Anthony Williams
|
bc403742b5
|
disable_cancellation and restore_cancellation need to be declared BOOST_THREAD_DECL to work with DLLs
[SVN r40476]
|
2007-10-26 09:45:46 +00:00 |
|
Anthony Williams
|
afb6684bde
|
added tests for cancellation
[SVN r40472]
|
2007-10-26 07:33:22 +00:00 |
|
Anthony Williams
|
ee3d772235
|
thread move constructor is not explicit, so self() compiles for MSVC8 and Intel; thread_exit_callback_node constructor added to remove warnings on MSVC8; thread destructor no longer calls cancel
[SVN r40456]
|
2007-10-25 07:17:20 +00:00 |
|
Anthony Williams
|
1af08f7085
|
updated pthreads code to support move and multiple joins
[SVN r40424]
|
2007-10-24 15:39:14 +00:00 |
|
Anthony Williams
|
c606f05bf8
|
added real default constructor to condition::list_entry
[SVN r40406]
|
2007-10-24 09:32:29 +00:00 |
|
Anthony Williams
|
a646153615
|
platform split for pthread and win32 builds so can use pthread-win32 library on Windows with <thrd-api>pthread feature; new C++0x-alike thread class interface on win32.
[SVN r40348]
|
2007-10-23 08:57:17 +00:00 |
|
Markus Schöpflin
|
60380afe15
|
Fix compilation.
[SVN r40277]
|
2007-10-22 07:54:08 +00:00 |
|
Anthony Williams
|
d4b0a977c9
|
New condition_variable and condition_variable_any as per proposed C++0x interface
[SVN r40191]
|
2007-10-19 17:40:04 +00:00 |
|
Anthony Williams
|
f86156ad10
|
more tweaks to remove warnings
[SVN r40189]
|
2007-10-19 15:31:35 +00:00 |
|
Anthony Williams
|
1836ee854f
|
small changes to reduce warnings; extracted pthread_mutex_scoped_lock to its own file
[SVN r40187]
|
2007-10-19 14:52:52 +00:00 |
|
Anthony Williams
|
c37cdeec9f
|
removed lock_ops as no longer needed
[SVN r40080]
|
2007-10-16 11:08:17 +00:00 |
|
Anthony Williams
|
b0b2b17908
|
added missing include to basic_timed_mutex.hpp
[SVN r40041]
|
2007-10-15 09:18:32 +00:00 |
|
Anthony Williams
|
2918732481
|
read_write_mutex makes a comeback --- as shared_mutex
[SVN r39891]
|
2007-10-10 15:33:49 +00:00 |
|
Anthony Williams
|
5a4d5ddb9d
|
fixed more has-timed-lock backwards conditions
[SVN r39841]
|
2007-10-09 14:44:37 +00:00 |
|
Anthony Williams
|
55afcf678d
|
fixed typo in pthread_cond_timedwait and ETIMEDOUT
[SVN r39839]
|
2007-10-09 14:08:22 +00:00 |
|
Anthony Williams
|
16c7cf9b5e
|
fixed typo in pthread_cond_timedwait and ETIMEDOUT
[SVN r39838]
|
2007-10-09 12:45:46 +00:00 |
|
Anthony Williams
|
432bd29c1c
|
fixed direction of conditional
[SVN r39836]
|
2007-10-09 12:23:09 +00:00 |
|
Anthony Williams
|
a87914ef23
|
added missing move.hpp header
[SVN r39832]
|
2007-10-09 06:59:14 +00:00 |
|
Anthony Williams
|
041530a953
|
added backwards-compatibility overload for call_once
[SVN r39785]
|
2007-10-08 15:44:13 +00:00 |
|
Anthony Williams
|
9d4c55161a
|
New mutex implementations, more akin to C++0x
[SVN r39784]
|
2007-10-08 15:41:05 +00:00 |
|
Anthony Williams
|
5d4678364e
|
Use InterlockedCompareExchange when _ReadWriteBarrier not available
[SVN r39777]
|
2007-10-08 07:18:27 +00:00 |
|
Anthony Williams
|
9590526430
|
include config header from right place for pthread/once.hpp
[SVN r39705]
|
2007-10-05 12:50:29 +00:00 |
|
Anthony Williams
|
1c6dfda83c
|
added platform dispatcher
[SVN r39703]
|
2007-10-05 12:21:55 +00:00 |
|
Anthony Williams
|
a8be12940e
|
added platform-specific call_once implementations
[SVN r39702]
|
2007-10-05 12:20:50 +00:00 |
|
Anthony Williams
|
4b5046366b
|
Changed call_once to header-only template that takes arbitrary function objects; this changes parameter order
[SVN r39701]
|
2007-10-05 12:10:06 +00:00 |
|
Anthony Williams
|
a0fff90c26
|
Updated in line with RC 1.34
[SVN r39693]
|
2007-10-05 09:46:00 +00:00 |
|
Roland Schwarz
|
d75fb2deda
|
Applying long outstanding patch.
See:http://thread.gmane.org/gmane.comp.lib.boost.devel/118863/focus=118912
[SVN r36920]
|
2007-02-11 12:00:38 +00:00 |
|
Roland Schwarz
|
64cd268fc7
|
Get rid of dll import warnings for nocopyable classes
[SVN r35796]
|
2006-10-30 19:27:51 +00:00 |
|
Roland Schwarz
|
f048dd81f2
|
Merged changes from RC_1_34_0
[SVN r35616]
|
2006-10-15 10:27:28 +00:00 |
|
Roland Schwarz
|
df229074ac
|
Made size() a constant member function.
[SVN r35589]
|
2006-10-13 16:41:51 +00:00 |
|
Roland Schwarz
|
72e4794f5b
|
Removed the "intentional memory leak" of the TSS implementation
[SVN r35426]
|
2006-09-29 19:24:19 +00:00 |
|
Hartmut Kaiser
|
1cb08ff60c
|
Changed Boost.Thread to use the Boost license.
[SVN r35115]
|
2006-09-14 23:02:29 +00:00 |
|
John Maddock
|
56b07cb5c0
|
Bring dynamic linking into line with the rest of Boost.
[SVN r31628]
|
2005-11-12 10:23:25 +00:00 |
|
Anthony Williams
|
01297016bd
|
Reverted trunk to before adding new threads code
[SVN r30957]
|
2005-09-13 18:44:59 +00:00 |
|
Anthony Williams
|
64b5b67661
|
Updated thread primitives to include semaphore functions
[SVN r30952]
|
2005-09-13 14:20:31 +00:00 |
|
Anthony Williams
|
b6f0ec7fd9
|
Moved win32 thread sync primitives to their own file
[SVN r30947]
|
2005-09-13 13:48:01 +00:00 |
|
Anthony Williams
|
e9c0b5e0c5
|
Nibble mask is 0x0f, not 0x7f
[SVN r30888]
|
2005-09-09 12:51:17 +00:00 |
|
Anthony Williams
|
4a005ea288
|
New version of call_once for win32
[SVN r30847]
|
2005-09-07 15:02:16 +00:00 |
|
Douglas Gregor
|
aa240e61d9
|
Clear up broken links, tabs, etc
[SVN r30077]
|
2005-07-14 15:47:04 +00:00 |
|
Douglas Gregor
|
2954e932ce
|
Fix test_read_write_mutex, from Tobias Schwinger
[SVN r29988]
|
2005-07-11 15:06:09 +00:00 |
|
Michael Glassford
|
3b237267fb
|
Added more debugging aids, assertions. Corrected errors, including hangs, at the cost or making the read-write mutex even larger. The whole read-write mutex is too complicated; the design needs to be revisited.
[SVN r27874]
|
2005-03-29 21:46:38 +00:00 |
|
Michael Glassford
|
6382846f6c
|
Add thread_group::size() method.
[SVN r27716]
|
2005-03-17 01:46:11 +00:00 |
|
Roland Schwarz
|
af9864a1b5
|
Making use of BOOST_HAS_DECLSPEC macro
[SVN r26801]
|
2005-01-22 13:22:29 +00:00 |
|
Michael Glassford
|
39f7afc7d0
|
Reword comment to make its meaning clearer.
[SVN r26453]
|
2004-12-06 21:00:16 +00:00 |
|
Michael Glassford
|
e500bc075e
|
Make recent xtime_get() changes more portable and easier to understand.
[SVN r25160]
|
2004-09-16 20:39:49 +00:00 |
|
Michael Glassford
|
5f27fb2607
|
Add newline to end of file.
[SVN r24976]
|
2004-09-08 15:58:40 +00:00 |
|
Michael Glassford
|
d977cedb78
|
Fix gcc warning about inline function being marked as dllimport.
[SVN r24975]
|
2004-09-08 15:57:03 +00:00 |
|
Stefan Slapeta
|
454b58cdf0
|
Configure Intel for Windows like MSVC
[SVN r24805]
|
2004-08-29 14:13:47 +00:00 |
|
Michael Glassford
|
33da34b4bf
|
Don't use subtraction to compare xtime.sec because it could overflow.
[SVN r24361]
|
2004-08-09 21:46:34 +00:00 |
|
Michael Glassford
|
4c7c7df89b
|
Fixed typos.
[SVN r24320]
|
2004-08-06 11:54:11 +00:00 |
|
Michael Glassford
|
515e6d8635
|
Completely restructured tss cleanup. Automatic tss cleanup in Win32 static Boost.Threads library now works for both VC++ 6 and 7.1 (probably also 7.0, but this hasn't been tested).
[SVN r24312]
|
2004-08-05 18:13:43 +00:00 |
|
Michael Glassford
|
bbd941e2df
|
Updated release notes for static liking of Boost.Threads to reflect recent changes.
[SVN r24311]
|
2004-08-05 18:08:09 +00:00 |
|
Michael Glassford
|
3edba1bf19
|
Changed default linking option on non-Win32 platforms from dynamic to static linking.
[SVN r24310]
|
2004-08-05 18:06:34 +00:00 |
|
Michael Glassford
|
4ad99d8242
|
Completely restructured tss cleanup. Automatic tss cleanup in Win32 static Boost.Threads library now works for both VC++ 6 and 7.1 (probably also 7.0, but this hasn't been tested).
[SVN r24307]
|
2004-08-05 17:33:07 +00:00 |
|
Michael Glassford
|
792be9e687
|
Add on_process_enter() and on_thread_enter(); make tss cleanup more robust.
[SVN r24258]
|
2004-08-03 01:38:04 +00:00 |
|
Michael Glassford
|
fd65337f43
|
Add tests for statically linked and dynamically linked versions of Boost.Threads.
[SVN r24257]
|
2004-08-03 01:33:24 +00:00 |
|
Michael Glassford
|
b5c5fbe0f5
|
#include <string> before every #<stdexcept> to eliminate compile errors on VC++ 6 with STLPort-4.5.3 when standard exceptions are thrown with a string literal passed to the constructor.
[SVN r24159]
|
2004-07-29 14:25:30 +00:00 |
|
Douglas Gregor
|
b88ae8105e
|
Converted to Boost Software License, Version 1.0
[SVN r24055]
|
2004-07-26 00:32:12 +00:00 |
|
Michael Glassford
|
9ad04bb65e
|
Handle locks that timeout.
[SVN r23999]
|
2004-07-23 18:39:50 +00:00 |
|
Michael Glassford
|
d29dae72de
|
Clean up scheduling algorithms to pass unit tests and hopefully eliminate reported deadlocks. Still needs work, but should be better than before.
[SVN r23849]
|
2004-07-20 20:25:18 +00:00 |
|
Michael Glassford
|
0350d4c501
|
Renamed add_thread_exit() to at_thread_exit(), a better name.
[SVN r23796]
|
2004-07-19 14:25:00 +00:00 |
|
Michael Glassford
|
4cd6453cac
|
Fix compile errors: some compilers don't like an enum and the namespace it is in to have the same name.
[SVN r23660]
|
2004-07-17 03:37:00 +00:00 |
|
Michael Glassford
|
046698bcc2
|
Remove invalid typename (accepted by MSVC++ 6 and 7.1, but not by some compilers).
[SVN r23547]
|
2004-07-14 15:29:30 +00:00 |
|
Michael Glassford
|
06d7bf21d5
|
Add newline at end of file.
[SVN r23499]
|
2004-07-13 15:24:11 +00:00 |
|
Michael Glassford
|
e7b9ccdf10
|
Fix compile error.
[SVN r23498]
|
2004-07-13 15:18:16 +00:00 |
|
Michael Glassford
|
1e15b043a0
|
Add hooks for users to provide there own tss cleanup in win32 statically linked builds.
[SVN r23493]
|
2004-07-13 14:51:23 +00:00 |
|
Michael Glassford
|
6c5f3d76e2
|
Modify constructors; add promote() that throws exception if it fails; fix enum definition.
[SVN r23492]
|
2004-07-13 14:42:26 +00:00 |
|
Michael Glassford
|
8679d6f6af
|
Removed enums that will no longer be used.
[SVN r23491]
|
2004-07-13 14:40:08 +00:00 |
|
Michael Glassford
|
f1c7d0f354
|
Fix enum definition; add newline at end of file.
[SVN r23490]
|
2004-07-13 14:39:25 +00:00 |
|
Michael Glassford
|
261e413500
|
Add promote() that throws exception if it fails; fix enum definition.
[SVN r23489]
|
2004-07-13 14:38:42 +00:00 |
|
Michael Glassford
|
094e41d7a7
|
Add newline at end of file.
[SVN r23488]
|
2004-07-13 14:37:50 +00:00 |
|
Michael Glassford
|
c34f829c3e
|
Add lock_state and blocking_mode needed by read_write_lock and related classes.
[SVN r23418]
|
2004-07-09 11:08:54 +00:00 |
|
Vladimir Prus
|
35f2055a1e
|
Fix some typos. Thanks to Jurgen Hunold for the patch.
[SVN r23404]
|
2004-07-08 13:46:51 +00:00 |
|
Michael Glassford
|
fc8f1b1075
|
Merge read/write mutex from thread_dev branch.
[SVN r23375]
|
2004-07-06 17:11:31 +00:00 |
|
Michael Glassford
|
318a8e38c9
|
Merge exception class changes thread_dev branch (thread exceptions now have a common base class and methods for reporting the OS error that caused the exception to be thrown, if any).
[SVN r23374]
|
2004-07-06 17:09:11 +00:00 |
|
Michael Glassford
|
f0dbb02a9f
|
Disable auto-link when building static library.
[SVN r23373]
|
2004-07-06 17:03:43 +00:00 |
|
Michael Glassford
|
1096b1e28e
|
Cleanup: always #include <boost/thread/detail/config.hpp> first; eliminate tabs; etc.
[SVN r23190]
|
2004-06-25 20:22:02 +00:00 |
|
Michael Glassford
|
03458fedef
|
Add option to build as static library.
[SVN r23189]
|
2004-06-25 20:17:19 +00:00 |
|
Michael Glassford
|
c1a2004344
|
Cleanup: always #include <boost/thread/detail/config.hpp> first; eliminate tabs; etc.
[SVN r23188]
|
2004-06-25 20:04:34 +00:00 |
|
Michael Glassford
|
2adb13a209
|
Cleanup: always #include <boost/thread/detail/config.hpp> first; TimedLock concept is a refinement of TryLock.
[SVN r23181]
|
2004-06-25 14:35:55 +00:00 |
|
Michael Glassford
|
dba194ddb9
|
Change enumeration from anonymous to xtime_clock_types and remove unused clock types.
[SVN r23150]
|
2004-06-22 21:25:58 +00:00 |
|
Vladimir Prus
|
a13c7a4d84
|
Add newline at the end of file, to stop gcc warning
[SVN r23075]
|
2004-06-10 12:20:01 +00:00 |
|
Michael Glassford
|
58ffb2bc16
|
Win32: use critical section instead of mutex whenever possible; abstract common code into functions.
[SVN r22828]
|
2004-05-15 02:03:48 +00:00 |
|
Michael Glassford
|
0ed112631c
|
Merge tss changes from thread_dev branch.
[SVN r22560]
|
2004-03-27 02:03:52 +00:00 |
|
Michael Glassford
|
bf8746454a
|
Merge barrier from thread_dev branch.
[SVN r22373]
|
2004-02-23 17:29:40 +00:00 |
|
Michael Glassford
|
c2bcd08168
|
Merge minor changes from thread_dev branch.
[SVN r22322]
|
2004-02-19 01:16:06 +00:00 |
|
Michael Glassford
|
48593b8868
|
Merge minor changes from thread_dev branch.
[SVN r22308]
|
2004-02-18 01:15:36 +00:00 |
|
Michael Glassford
|
83d4dc1831
|
Merge minor changes from thread_dev branch.
[SVN r22307]
|
2004-02-18 00:53:09 +00:00 |
|
John Maddock
|
0696f3cc41
|
Added auto-link code to thread library
[SVN r21575]
|
2004-01-10 12:16:42 +00:00 |
|
John Maddock
|
ed64a8cd12
|
Changed #errors to use new requires_threads.hpp header instead.
[SVN r21351]
|
2003-12-20 11:56:37 +00:00 |
|
Dave Abrahams
|
b84d7aa06d
|
Port "conditin.hpp" typo fix over from Version_1_30_2
[SVN r19725]
|
2003-08-21 22:51:38 +00:00 |
|
Björn Karlsson
|
c4ac4b7538
|
Added copyright statement
[SVN r17222]
|
2003-02-05 08:38:32 +00:00 |
|
William E. Kempf
|
e101c878f0
|
Updated format (removed tabs) and added missing copyrights
[SVN r17213]
|
2003-02-04 23:08:28 +00:00 |
|
William E. Kempf
|
9a1e3d3320
|
Added <boost/thread.hpp>.
[SVN r16796]
|
2003-01-08 15:08:32 +00:00 |
|
William E. Kempf
|
c918b66199
|
Switched to a DLL implementation
[SVN r16742]
|
2003-01-03 21:03:43 +00:00 |
|
Dave Abrahams
|
75084aaa96
|
HP aCC workarounds
[SVN r16518]
|
2002-12-04 17:56:59 +00:00 |
|
Björn Karlsson
|
b465fe569c
|
Merged from branch to trunk
[SVN r15613]
|
2002-10-01 15:00:37 +00:00 |
|
William E. Kempf
|
51f80f6c15
|
Removed incorrect usages of typename
[SVN r15185]
|
2002-09-06 19:49:10 +00:00 |
|
William E. Kempf
|
45c314e594
|
Changed tabs to spaces.
[SVN r15180]
|
2002-09-06 15:35:39 +00:00 |
|
William E. Kempf
|
75c83fed96
|
Fixed time precision bugs. Switched to Interlocked* methods for once.
[SVN r14867]
|
2002-08-15 00:05:54 +00:00 |
|
William E. Kempf
|
43cbd3a283
|
Split up tests into seperate files and switched fully to unit test framework
[SVN r14780]
|
2002-08-12 05:43:10 +00:00 |
|
William E. Kempf
|
9fb31e9868
|
Updated documentation for pending release
[SVN r13606]
|
2002-05-01 15:37:25 +00:00 |
|
William E. Kempf
|
e7c4e2fa57
|
Removed boost/thread/config.hpp and changed Boost.Threads exceptions to derive from logic_error
[SVN r13568]
|
2002-04-26 20:56:49 +00:00 |
|
William E. Kempf
|
ecdfd96529
|
fixed typename warnings
[SVN r12901]
|
2002-02-22 18:30:34 +00:00 |
|
William E. Kempf
|
a5239c820b
|
Fixed tabs in files
[SVN r12622]
|
2002-02-01 17:31:46 +00:00 |
|
William E. Kempf
|
6bc82a8580
|
Added Mac Carbon implementation to Boost.Threads.
[SVN r12480]
|
2002-01-24 16:32:23 +00:00 |
|
William E. Kempf
|
e7e46e185e
|
Fixed bug found compiling with gcc.
[SVN r11584]
|
2001-11-05 15:13:57 +00:00 |
|
William E. Kempf
|
9200d48873
|
Added lock_ops<> detail concept.
[SVN r11540]
|
2001-11-02 23:34:50 +00:00 |
|
William E. Kempf
|
f3af804ddb
|
Removed semaphores. Fixed some reported bugs. Switched to CRITICAL_SECTION implementations.
[SVN r11501]
|
2001-11-01 16:18:57 +00:00 |
|
William E. Kempf
|
554a18842f
|
Switched to void* for HANDLE types. Changed boost::once_init to the macro BOOST_ONCE_INIT.
[SVN r11475]
|
2001-10-30 22:12:37 +00:00 |
|
William E. Kempf
|
9b5f666fc5
|
Removed tabs and trailing white space.
[SVN r11403]
|
2001-10-18 19:56:32 +00:00 |
|
Beman Dawes
|
b3acba1d2d
|
commit after merging thread-initial into main trunk
[SVN r11258]
|
2001-09-25 19:20:11 +00:00 |
|
Beman Dawes
|
6d2731c463
|
commit after merging thread-initial into main trunk
[SVN r11250]
|
2001-09-25 16:57:26 +00:00 |
|
Beman Dawes
|
5f750fa386
|
Due to misspelling of branch name, these got put in the main trunk. So remove them from the main trunk
[SVN r10339]
|
2001-06-15 15:31:38 +00:00 |
|
Beman Dawes
|
f585d38fa3
|
Initial commit
[SVN r10338]
|
2001-06-15 15:27:08 +00:00 |
|