Vicente J. Botet Escriba
3479524845
trace elapsed time.
2017-10-02 13:18:33 +02:00
Vicente J. Botet Escriba
b94c36f960
move to 650 ms to see if the test pass.
2017-10-02 08:41:39 +02:00
Vicente J. Botet Escriba
9f7e37c892
Merge branch 'develop' into feature/timespec_clocks
2017-10-01 13:28:57 +02: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
Austin Beer
659d309206
Re-enabled tests on Windows that had been temporarily disabled.
2017-09-29 15:53:21 -06:00
Austin Beer
35d25851ce
* Reverted some of my Windows updates to get a condition variable test on Windows to pass again. Further analysis is needed to determine why the updates didn't work.
...
* Increased the range of one test so it passes on Windows.
2017-09-29 14:52:42 -06:00
Austin Beer
51e6e654e3
Re-disabled the three move_ctor_upgrade_lock tests on Windows that are still failing.
2017-09-29 02:17:58 -06: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
Austin Beer
a2e037bb54
Fixes and Cleanup
...
- Fixed build failures on Windows. The timespec struct is not supported by older versions of Visual Studio. I changed the internal representation inside of the *_timespec_timepoint classes to a boost::intmax_t representing the number of nanoseconds since the epoch.
- Fixed some functions that wouldn't execute at all if they were provided a negative time duration or an absolute time that was in the past. From what I understand, they should instead execute once and then return immediately.
- Moved pthread/timespec.hpp to detail/timespec.hpp.
- Deleted detail/internal_clock.hpp and moved the seven relevant lines into detail/timespec.hpp. This keeps all of the internal clock declarations in one place.
- Renamed thread_detail::internal_clock_t to detail::internal_chrono_clock to be consistent with and yet clearly differentiated from detail::internal_timespec_clock.
- Removed "using namespace chrono" to eliminate ambiguious namespace resolution when referencing detail::internal_chrono_clock.
- Re-enabled a few tests on Windows that had previously been disabled. I want to see whether or not they still need to be disabled.
2017-09-28 22:27:37 -06:00
Vicente J. Botet Escriba
e9ce83b399
Merge pull request #160 from karzhenkov/fix-threadapi-detection
...
Auto-detection of <threadapi> based on <target-os>
2017-09-28 23:50:38 +02:00
Alexander Karzhenkov
9c1c372067
<threadapi> is now optional; detection rules moved to "threadapi.jam"
2017-09-28 01:25:17 +05:00
Vicente J. Botet Escriba
46c1ae6f96
Merge branch 'develop' into feature/timespec_clocks
2017-09-26 05:55:40 +02:00
Vicente J. Botet Escriba
de4ee72554
disable some failing unique_lock/upgrade_lock tests on windows.
2017-09-24 20:21:43 +02:00
Vicente J. Botet Escriba
ad5ea75ddd
disable tsome failing unique_lock/upgrade_lock tests on windows.
2017-09-24 19:38:34 +02:00
Daniela Engert
4e83359537
fix or silence (msvc) compiler warnings about constant conditional expressions, unused parameters, narrowing, unreachable code, use of 'this' in base member initializations, and some other minor stuff
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-09-24 14:02:17 +02: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
981e993d40
Adjust time constraint to windows.
2017-09-21 08:02:22 +02:00
Vicente J. Botet Escriba
4329e5be07
Merge pull request #150 from boostorg/feature/promise_deferred
...
Feature/promise deferred
2017-09-19 23:42:08 +02:00
Vicente J. Botet Escriba
48a2a960da
remove some warnings.
2017-09-19 03:20:46 +02:00
Vicente J. Botet Escriba
728c8f9507
woraround for msvc <= 1900
2017-09-19 03:17:14 +02:00
Vicente J. Botet Escriba
d0db967e3b
Merge branch 'develop' of github.com:boostorg/thread into develop
2017-09-19 00:13:57 +02:00
Vicente J. Botet Escriba
d40e0faceb
Merge branch 'develop' into feature/promise_deferred
2017-09-18 18:42:48 +02:00
Vicente J. Botet Escriba
aa2fea2250
disable dequeue_views/queue_views tests if < _MSC_VER < 1910
2017-09-18 13:11:57 +02:00
Vicente J. Botet Escriba
a759fc693d
replace bad character by white space.
2017-09-18 08:22:37 +02:00
Vicente J. Botet Escriba
65989edb97
Added promise deferred functions.
2017-09-18 02:22:49 +02:00
Vicente J. Botet Escriba
1c85a84474
try to silent issues with msvc 12.0 and devector.
2017-09-18 00:15:35 +02:00
Edward Diener
dfb64a5af5
Removed executable attribute.
2017-09-17 08:51:10 -04:00
Vicente J. Botet Escriba
c689b6205c
Merge pull request #146 from shinobu-x/sk_scheduling_adaptor_fix_001
...
Inappropriate class name
2017-09-16 14:50:28 +02:00
Shinobu Kinjo
03431ae64f
modified: include/boost/thread/executors/scheduling_adaptor.hpp
...
modified: test/test_scheduling_adaptor.cpp
2017-09-16 15:41:18 +09:00
Vicente J. Botet Escriba
3ee73c866d
INcrease the threashold of spourious timeouts.
2017-08-28 09:15:39 +02:00
Vincent Hsu
603689372c
Fix sync_bounded_queue<>::size()
2017-05-10 13:12:01 +08:00
Vicente J. Botet Escriba
c251497758
Avoid throwing on destructor: condition_variable.
2017-05-06 12:09:23 +02:00
Vicente J. Botet Escriba
21458fcc67
Add missing iostream.
2017-04-29 17:56:32 +02:00
Vicente J. Botet Escriba
8dfa7c2e42
fix issue throw() noexcept issue.
2017-04-29 16:14:41 +02:00
Vicente J. Botet Escriba
da83662e1a
added test for 12949.
2017-04-29 16:11:31 +02:00
Vicente J. Botet Escriba
496acc1161
disable some tests with C++98.
2017-02-28 23:29:28 +01: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
fc748dbddf
12293- make the unwrap constructor explicit.
2016-08-20 09:27:47 +02:00
Vicente J. Botet Escriba
41f93eb513
Add test for 12293.
2016-08-09 02:49:23 +02:00
Zonr Chang
0f2fed0577
rename async_func.hpp to invoker.hpp.
...
This removes vestiges of commit 1d7da085 .
2016-07-26 16:07:29 +08:00
Vicente J. Botet Escriba
a45f36cbc6
Take in account possible issue while initializing cout. #12013
2016-02-28 19:26:38 +01: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
b3d237731a
avoid Boost.Test.
2015-10-20 10:03:15 +02: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
0e6376d93a
make async return a blocking future.
2015-10-18 18:47:24 +02:00