Anthony Williams
|
a646f1c818
|
Changed tests that rely on condition variables to use the new basic_condition<lock_type> rather than plain condition
[SVN r35485]
|
2006-10-04 11:06:24 +00:00 |
|
Anthony Williams
|
5328b43191
|
Serialize the final checks, too, so we don't get race conditions in the BOOST_CHECK_EQUAL in call_once_thread
[SVN r34842]
|
2006-08-07 16:32:26 +00:00 |
|
Anthony Williams
|
7aac1e69af
|
New once test under BSL
[SVN r34841]
|
2006-08-07 16:31:32 +00:00 |
|
Anthony Williams
|
94207924ad
|
Eliminated some "magic numbers"
[SVN r34840]
|
2006-08-07 16:14:42 +00:00 |
|
Anthony Williams
|
be64ba98b3
|
Ensure all checks are guarded by a mutex, to avoid race conditions in the test library
[SVN r34503]
|
2006-07-10 20:53:56 +00:00 |
|
Anthony Williams
|
1e055e618d
|
try_lock should throw if already locked
[SVN r34313]
|
2006-06-15 20:10:42 +00:00 |
|
Anthony Williams
|
46064d1b20
|
Added test to ensure that try_lock locks if not already locked
[SVN r34312]
|
2006-06-15 20:01:37 +00:00 |
|
Anthony Williams
|
08cf6a81a5
|
Changes test_scoped_try_lock over to being a templated test case
[SVN r34300]
|
2006-06-14 07:52:29 +00:00 |
|
Anthony Williams
|
8ce25c6ecd
|
Changed scoped_lock_test to templated test case, in order to get better error messages
[SVN r34299]
|
2006-06-14 07:48:05 +00:00 |
|
Anthony Williams
|
01f93931cb
|
timed_mutex and recursive_timed_mutex have scoped_locks
[SVN r34298]
|
2006-06-14 07:31:13 +00:00 |
|
Anthony Williams
|
0d3f4a0b7c
|
recursive_try_mutex has both a scoped_lock and a scoped_try_lock
[SVN r34297]
|
2006-06-13 21:08:02 +00:00 |
|
Anthony Williams
|
29a1903c4b
|
recursive_mutex::scoped_lock should support scoped_lock concept
[SVN r34295]
|
2006-06-13 20:36:27 +00:00 |
|
Anthony Williams
|
08041bf58e
|
try_mutex locks throw if unlocked twice
[SVN r34249]
|
2006-06-08 16:39:21 +00:00 |
|
Anthony Williams
|
781794aa2d
|
Templated test_throws_if_unlock_called_when_already_unlocked
[SVN r34248]
|
2006-06-08 16:32:40 +00:00 |
|
Anthony Williams
|
36c1198113
|
Added more tests for try_mutex::scoped_try_lock
[SVN r34247]
|
2006-06-08 16:31:15 +00:00 |
|
Anthony Williams
|
552dfff988
|
try_mutex_scoped_lock throws if you try and lock it twice
[SVN r34246]
|
2006-06-08 16:30:14 +00:00 |
|
Anthony Williams
|
6efc06f50c
|
templated test_throws_if_lock_called_when_already_locked
[SVN r34245]
|
2006-06-08 16:22:33 +00:00 |
|
Anthony Williams
|
e72cb93fe0
|
Templated test_locked_after_lock_called
[SVN r34243]
|
2006-06-08 14:53:02 +00:00 |
|
Anthony Williams
|
d57be95047
|
Templated more tests
[SVN r34242]
|
2006-06-08 14:48:46 +00:00 |
|
Anthony Williams
|
1d1989bbfe
|
Templated test_initially_locked_with_bool_parameter_true
[SVN r34241]
|
2006-06-08 14:42:41 +00:00 |
|
Anthony Williams
|
11178cdc84
|
Templated test_initially_locked, and applied to boost::try_mutex::scoped_lock too
[SVN r34240]
|
2006-06-08 14:40:43 +00:00 |
|
Anthony Williams
|
54d37cd6af
|
Added more checks round scoped_lock concept
[SVN r34239]
|
2006-06-08 14:33:29 +00:00 |
|
Anthony Williams
|
ede873549b
|
Throw lock error if we try and unlock twice
[SVN r34238]
|
2006-06-08 14:24:23 +00:00 |
|
Anthony Williams
|
83a2a4ec38
|
Started to add tests for locking concepts; ensure mutex::scoped_lock throws when try to lock if already locked
[SVN r34237]
|
2006-06-08 14:12:10 +00:00 |
|
Anthony Williams
|
71c652dd9f
|
Basic condition-based read-write mutex
[SVN r33850]
|
2006-04-28 08:20:18 +00:00 |
|
Anthony Williams
|
70302577f9
|
Empty read_write_mutex supports any number of readers
[SVN r33844]
|
2006-04-27 20:39:36 +00:00 |
|
Anthony Williams
|
26f3f0fd2d
|
Changed the Comparison for the condition-based test in test_timedlock to state what we really mean
[SVN r33837]
|
2006-04-27 14:03:39 +00:00 |
|
Anthony Williams
|
562a748bc6
|
Moved more stuff over to new platform layout; made tests work on win32
[SVN r33680]
|
2006-04-12 16:48:10 +00:00 |
|
Anthony Williams
|
ba49aaa0f7
|
Added "unspecified" read-write sync policy, for use in read-write mutex tests
[SVN r33564]
|
2006-04-06 09:13:22 +00:00 |
|
Anthony Williams
|
cdd57f50ef
|
Added recursive_timed_mutex
[SVN r33279]
|
2006-03-09 11:13:29 +00:00 |
|
Anthony Williams
|
8c2ded3235
|
Win32 implementation of boost::timed_mutex
[SVN r33272]
|
2006-03-08 22:24:52 +00:00 |
|
Anthony Williams
|
9ceee4b030
|
New implementations of mutex and recursive mutex for win32
[SVN r33172]
|
2006-02-28 11:27:19 +00:00 |
|
Anthony Williams
|
50f8f34ab8
|
Simplified wait functions
[SVN r32393]
|
2006-01-24 11:24:00 +00:00 |
|
Anthony Williams
|
d76e67ffe2
|
Updated tests, to ensure unblocked_count is guarded by mutex when reading, and added new test for unblocking only one writer
[SVN r31627]
|
2005-11-12 10:21:39 +00:00 |
|
Anthony Williams
|
617729f2ae
|
Added new test for unblocking all readers to read_write_mutex code. Added necessary implementation.
[SVN r31122]
|
2005-09-26 07:09:09 +00:00 |
|
Anthony Williams
|
4749f47f00
|
Verify that only one writer permitted at once
[SVN r31064]
|
2005-09-20 22:09:49 +00:00 |
|
Anthony Williams
|
07af8a5605
|
Removed duplication between reader_thread and writer_thread into a template locking_thread
[SVN r31063]
|
2005-09-20 21:51:02 +00:00 |
|
Anthony Williams
|
cc89b8d2c6
|
A locked reader blocks a waiting writer
[SVN r31062]
|
2005-09-20 21:42:45 +00:00 |
|
Anthony Williams
|
946d45ee70
|
Added brute force test for multiple readers
[SVN r31061]
|
2005-09-20 21:20:31 +00:00 |
|
Anthony Williams
|
6fe2e36fb0
|
Put a mutex around the increment in init_once_value, to ensure that if two threads call init_once_value, the increment is done
correctly.
[SVN r31046]
|
2005-09-19 21:09:14 +00:00 |
|
Anthony Williams
|
e5ada85386
|
Extended stress test: 100 threads, loop 100 times on same thread.
[SVN r31045]
|
2005-09-19 20:59:49 +00:00 |
|
Anthony Williams
|
a9760cd2e6
|
Added test to verify that threads block on a mutex, and only one waiting thread is released when the mutex is unlocked.
[SVN r31040]
|
2005-09-19 15:11:41 +00:00 |
|
Anthony Williams
|
3e0ce8d25a
|
Added a looping test to check for cross-thread sync problems
[SVN r31016]
|
2005-09-17 22:20:35 +00:00 |
|
Anthony Williams
|
c7a85f366c
|
New read_write_mutex implementation for win32. No try/timed varieties, and no support for read/write priority policies.
[SVN r30994]
|
2005-09-15 10:47:29 +00:00 |
|
Douglas Gregor
|
e3c9446e29
|
Merged from 1.33.0 release
[SVN r30540]
|
2005-08-12 13:02:37 +00:00 |
|
Martin Wille
|
f4f3433854
|
-- fixed order of member initialization
[SVN r29881]
|
2005-07-03 16:51:35 +00:00 |
|
Michael Glassford
|
26bffa3740
|
Rename binder to eliminate name conflicts with type traits.
[SVN r29229]
|
2005-05-26 14:12:41 +00:00 |
|
Michael Glassford
|
cc8de48849
|
Commit Caleb Epstein patch to fix errors due to Boost.Test not being thread safe.
[SVN r28537]
|
2005-04-29 20:38:46 +00:00 |
|
Vladimir Prus
|
6ba9fd1b60
|
Sync with V1
[SVN r28369]
|
2005-04-21 08:17:12 +00:00 |
|
Michael Glassford
|
fb6250eb94
|
Completely rewrite tests to eliminate most calls to Sleep(), which was making the tests take far too long.
[SVN r28331]
|
2005-04-19 20:52:08 +00:00 |
|