Tom Hughes
b7ebda0f15
Remove racy check
...
This check may or may not be true depending on how long it takes p1 to
finish executing. You can verify this by adding a sleep before the check
in which case "is_ready()" is always true.
2018-04-26 07:30:33 -07: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
Vicente J. Botet Escriba
dbf793e7eb
Don't execute test for launch::deferred if BOOST_THREAD_PROVIDES_VARIADIC_THREAD is not defined.
2015-03-29 19:28:05 +02:00
Vicente J. Botet Escriba
1029fa9c59
take in account deferred/ready futures on variadic when_all/when_any.
2014-10-12 15:47:16 +02:00
Vicente J. Botet Escriba
c8cd7d1d08
don't check for is_ready on all the futures when using when_wny.
2014-09-29 00:19:18 +02:00
Vicente J. Botet Escriba
8c5ba97d39
Don't use lambdas on test if not available.
2014-09-21 18:59:08 +02:00
Vicente J. Botet Escriba
00b25853b2
Added when_all/when_any iterators tests.
2014-09-20 16:05:19 +02:00
Vicente J. Botet Escriba
5091ad705f
Added when_any/variadic_pass.cpp.
2014-09-20 14:37:47 +02:00