2
0
mirror of https://github.com/boostorg/sync.git synced 2026-01-19 04:42:12 +00:00

20 Commits

Author SHA1 Message Date
Franz Detro
8a26db61ab fix boost deprecated header warnings 2021-02-05 14:18:41 +01:00
Andrey Semashev
4d75adf846 Added a workaround for the case when std::time performs rounding. 2019-10-13 23:26:20 +03:00
Andrey Semashev
ffd2a86d5f Ported tests to lightweight_test.hpp.
This will allow to work around compilation warnings and errors on
MinGW coming from Boost.Test.
2019-01-03 21:22:44 +03:00
Tim Blechmann
9e9b259799 semaphores: fix race condition in wait_until
wait_until used to return `false` in case the semaphore was posted, but
the timeout has already exceeded at the time of the call
2018-12-06 13:49:55 +08:00
Andrey Semashev
6ff3d05f5b Disabled thread_specific_ptr tests with custom deleters with UBSan.
The implementation uses the deleter type erasure as an optimization, which is
strictly speaking not standard C++, but works in practice. The fact that
it works is verified by the tests.
2018-11-14 01:05:31 +03:00
Andrey Semashev
9d83b8446c Fixed compilation on FreeBSD.
[SVN r86560]
2013-11-04 12:53:53 +00:00
Tim Blechmann
ca529a1709 sync: add shared_spin_mutex
[SVN r86494]
2013-10-28 10:05:25 +00:00
Andrey Semashev
75485b52ca Fixed compilation with gcc.
[SVN r86481]
2013-10-27 16:22:39 +00:00
Andrey Semashev
6ad2dc87cd Added more tests.
[SVN r86480]
2013-10-27 16:11:25 +00:00
Tim Blechmann
18f6670cd9 sync: introduce spin_mutex
[SVN r86447]
2013-10-26 12:32:33 +00:00
Andrey Semashev
f4db2ab189 Implemented notify_all_at_thread_exit, condition_variable_any and manual_reset_event (emulation). Timed mutex tests re-enabled. Added support for compiler-based TLS on non-Windows targets.
[SVN r86428]
2013-10-25 16:35:13 +00:00
Andrey Semashev
eb00dacf07 Made timed_mutex incompatible with condition variable when mutex_timedwait is not available. The test had to be disabled for now because it requires condition_variable_any.
[SVN r86367]
2013-10-20 13:54:27 +00:00
Andrey Semashev
aee4acc3ae Enabled CV and timed mutex tests.
[SVN r86363]
2013-10-19 16:14:35 +00:00
Andrey Semashev
6516bf9735 Events separated into different headers and ported to the time units abstraction layer.
[SVN r86351]
2013-10-18 14:00:03 +00:00
Andrey Semashev
5aebb54489 Ported semaphore implementation to the time units abstraction layer.
[SVN r86326]
2013-10-15 16:49:34 +00:00
Andrey Semashev
8825ea4463 Completed Windows CV, ported test utils to Boost.Sync primitives.
[SVN r86212]
2013-10-09 14:11:50 +00:00
Tim Blechmann
aa829aeada sync: event - split event into auto_reset_event and manual_reset_event
[SVN r85978]
2013-09-28 08:58:43 +00:00
Andrey Semashev
925d03aa9f Added support for more time libraries.
[SVN r85829]
2013-09-22 12:48:29 +00:00
Andrey Semashev
c49f7f1e8a Ported timed mutex for Windows. Changed time units to allow for non-system clocks. Minor fixes.
[SVN r85811]
2013-09-21 19:03:30 +00:00
Andrey Semashev
3ea72f8b28 Bug fixes. Preliminary test for mutex added.
[SVN r85794]
2013-09-19 20:27:08 +00:00