Austin Beer
ea54f2ec4d
Add test for Issue 271
2019-03-22 10:46:53 -06:00
Andrey Semashev
9342fe3f25
Added tests for self-contained headers.
...
The new set of tests iterates over Boost.Thread public headers and verifies that
each header is self-contained, i.e. doesn't have any missing includes and
contains syntactically correct content. On Windows and Cygwin, a second test
per each header is generated, which includes the header after windows.h. This
verifies that the header doesn't have conflicts with Windows SDK and that
includeing windows.h does not break platform detection in Boost.Thread.
This set of tests would have detected the bug fixed by
https://github.com/boostorg/thread/pull/263 .
2019-01-19 19:04:25 +03:00
Andrey Semashev
7ba2f2cf5b
Remove linking with Boost.System.
...
Since Boost.System is now header-only, no need to link with the library.
2019-01-14 20:19:46 +03:00
Vicente J. Botet Escriba
46a94dd8ba
Extract test too long.
2018-10-10 06:04:17 +02:00
Vicente J. Botet Escriba
76c7b25d4b
Extract test too long.
2018-10-09 21:17:24 +02:00
Vicente J. Botet Escriba
5b209c2e83
try to fix thread safety issues raised on FreeBSD.
2018-09-10 23:52:48 +02:00
Vicente J. Botet Escriba
d8d549cf3e
manage #13561 .
2018-08-07 13:54:35 +02:00
Vicente J. Botet Escriba
7b2289a1c5
Merge pull request #212 from thughes/feature/add_thread_safety_annotations
...
Add clang thread-safety annotations to boost::mutex (pthread-only)
2018-04-25 19:13:05 +02:00
Vicente J. Botet Escriba
25b915308a
Added test for 13480.
2018-04-14 09:26:31 +02:00
Tom Hughes
1874018c12
Add thread safety annotations for lock_guard
2018-03-01 15:57:00 -08:00
Tom Hughes
d78a0ca53f
Remove clang toolset from target requirements
...
This forces clang to be used regardless of the toolset configured
2018-02-28 15:51:38 -08:00
Tom Hughes
d1ef6369d9
Fix bjam thread safety compile rules so they only build with clang
2018-02-28 13:33:09 -08:00
Tom Hughes
5fa7ae14b9
Add clang thread-safety annotations to boost::mutex (pthread-only)
2018-02-27 09:30:49 -08:00
Austin Beer
7de4a7046a
Add test code for time jump issue
2018-02-12 13:54:50 -07:00
Austin Beer
7069c97a8b
Fixing lost notification bugs, part 1
...
- Updated all of the functions in all of the condition variable classes to ensure that they don't lose notifications
- Re-enabled notification tests
2017-10-11 10:03:04 -06:00
Vicente J. Botet Escriba
3b5d0c8d7f
fix meger issues from develop. Disable notification_lost test as need to be fixed for macos.
2017-10-11 09:32:19 +02:00
Austin Beer
c91c9e6d52
Added tests to check for lost notifications.
2017-10-10 12:06:29 -06:00
Peter Dimov
b86f9eda93
Try to disable std_thread_guard and std_scoped_thread tests on g++ 4.8
2017-10-09 01:40:42 +03:00
Alexander Karzhenkov
f67e6d4417
<threadapi> auto-detection has to be performed in Jamroot
2017-10-05 22:41:03 +05:00
Vicente J. Botet Escriba
75d5ebbea5
uncomment dependency from test jamfile to threadapi to see if we get a gree CI on windows.
2017-09-30 13:44:28 +02:00
Vicente J. Botet Escriba
71bc9c855d
comment dependencies to threadapi feature on test/Jamfile to show that there is no impact.
2017-09-29 08:43:30 +02:00
Alexander Karzhenkov
9c1c372067
<threadapi> is now optional; detection rules moved to "threadapi.jam"
2017-09-28 01:25:17 +05:00
Alexander Karzhenkov
ab3da91e67
Auto-detection logic for <threadapi> added to "test/Jamfile.v2"
2017-09-23 21:52:48 +05:00
Vicente J. Botet Escriba
da83662e1a
added test for 12949.
2017-04-29 16:11:31 +02:00
Christian Neumüller
74c98b7fab
loop_executor: (Re)activate and enhanche test.
2017-02-28 18:50:09 +01:00
Vicente J. Botet Escriba
9347d9b731
Added Thread parameter in scoped_thread and thread_guard classes.
2017-01-25 08:13:04 +01:00
Vicente J. Botet Escriba
41f93eb513
Add test for 12293.
2016-08-09 02:49:23 +02:00
Vicente J. Botet Escriba
9f55587ab0
add missing detach in thread assignment V2. #11796 .
2015-12-05 14:49:13 +01:00
Vicente J. Botet Escriba
674e1304ef
take care of #11818 . deferred continuations should not wait too soon.
2015-11-24 22:58:08 +01:00
Vicente J. Botet Escriba
dbf0160b1e
uncomment previous failing fallback_to test.
2015-11-14 12:38:37 +01:00
Vicente J. Botet Escriba
aa608685af
rename centinel by sentinel. reset it as soon as the non deferred continuation is launched so that resources are released.
2015-11-11 00:31:59 +01:00
Vicente J. Botet Escriba
c0317c5206
Add return *this in invoker assignment.
2015-10-29 11:06:48 +01:00
Vicente J. Botet Escriba
805fa41a4e
try to fix issues with gcc-3.x.y with not supported -Wno-variadic-macros.
2015-10-18 18:50:34 +02:00
Vicente J. Botet Escriba
73053e4abe
merge from develop.
2015-10-17 10:51:50 +02:00
Vicente J. Botet Escriba
baf516e82f
comment serial conttest.
2015-10-17 00:40:23 +02:00
Vicente J. Botet Escriba
bf8459cf23
Merge from develop.
2015-10-11 23:34:45 +02:00
Vicente J. Botet Escriba
8afcbe22af
uncomment fixed test after merge from develop.
2015-09-30 00:08:16 +02:00
Vicente J. Botet Escriba
450f34daed
merge from develop.
2015-09-30 00:01:33 +02:00
Vicente J. Botet Escriba
b332f17825
Added failing test for #11611 .
2015-09-02 22:39:26 +02:00
Vicente J. Botet Escriba
0143748de8
Add test_11499.
2015-08-21 18:37:08 +02:00
Vicente J. Botet Escriba
958b773d05
Merge from develop.
2015-05-18 22:35:17 +02:00
Vicente J. Botet Escriba
aafd5ca726
applie patch for #11266 .
2015-05-15 15:05:09 +02:00
Vicente J. Botet Escriba
131c92a7d8
propagate unwrap fixes.
2015-05-04 00:19:12 +02:00
Vicente J. Botet Escriba
b7b2a463cf
fix issue with unwrap shared state.
2015-05-03 22:32:17 +02:00
Vicente J. Botet Escriba
5205fa71bf
Fixed some missing lock.unlock().
2015-05-03 14:30:52 +02:00
Vicente J. Botet Escriba
650956bd3b
First draft of non-blocking. Fixed issue with basic_thread_pool scoped threads. Now when the result of async(ex,f) is not stored, there is a lifetime issue with shared_state_nullary_task use of direct pointer to the shared state, however there is some weak_ptr issues :(.
2015-05-03 10:13:08 +02:00
Vicente J. Botet Escriba
e598796eaf
Add assertion on future continuation parameter is ready. As noted in #11256 , there some serious issues with the parameter passed and with lock on locked mutextes :(.
2015-05-02 16:29:06 +02:00
Vicente J. Botet Escriba
0653efff3d
Added this_executor and default_executor examples.
2015-03-01 18:53:11 +01:00
Vicente J. Botet Escriba
c678b3794b
Crash issue while calling run_thread_exit_callbacks. Related to #11053 .
2015-03-01 01:37:35 +01:00
Vicente J. Botet Escriba
889c178173
fix issues with fallback_to. The route cause was that the original future was locked after destruction. This was more evident when the future was already ready when future::then was called.
2015-02-20 14:34:33 +01:00