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
f0d0c0551b
rollback to not define BOOST_RESULT_OF_USE_DECLTYPE.
2014-09-29 00:00:49 +02:00
Vicente J. Botet Escriba
bb72eadbd8
Added validation of invalid inner future in wrap.
2014-09-29 00:00:06 +02:00
Marcel Raad
f52f32afda
Fix GetTickCount return type
...
int as a return type results in a signed/unsigned mismatch warning with MSVC (although disabled by default), and it doesn't even compile with clang-cl if the definiton from the Windows header was included before.
2014-09-28 21:25:36 +02:00
Vicente J. Botet Escriba
b973e9b32e
remove BOOST_THREAD_NO_CXX11_DECLTYPE_N3276.
2014-09-28 13:46:21 +02:00
Vicente J. Botet Escriba
1ffef9ed2d
Add missing invoke.hpp include.
2014-09-28 13:40:16 +02:00
Vicente J. Botet Escriba
f24ea524bd
Remove confusing may be remark and replace T by FutTypes.
2014-09-28 11:55:35 +02:00
Vicente J. Botet Escriba
4111471ba5
fix typo on file guard.
2014-09-28 09:19:42 +02:00
Vicente J. Botet Escriba
5e970b987e
remove warning.
2014-09-28 00:34:15 +02:00
Vicente J. Botet Escriba
c7b5729cf3
Avoid the use fo invoke if not available, even if the semantics is not the same.
2014-09-27 19:59:25 +02:00
Vicente J. Botet Escriba
291ebded8e
update changes and compliance with last fixed issues.
2014-09-27 19:58:17 +02:00
Vicente J. Botet Escriba
0c2c8ed3b8
Update doc with last modifications from Concurrent TS.
2014-09-27 19:57:33 +02:00
Vicente J. Botet Escriba
5294dfa149
Update doc with last modifications from Concurrent TS.
2014-09-27 16:45:39 +02:00
Vicente J. Botet Escriba
7f5dfb633d
MSVC 10 doesn't provide std::is_copy_constructible. Make use of the boost version.
2014-09-26 06:48:40 +02:00
Vicente J. Botet Escriba
f381a7d591
Don't delete copy constructor when rvalue references are disabled.
2014-09-25 07:25:39 +02:00
Vicente J. Botet Escriba
aceabda609
try to avoid to unlock prematurely to see if this is the cause of the test_latch spourious failure.
2014-09-24 08:09:40 +02:00
Vicente J. Botet Escriba
dc4b619b57
Don't delete copy constructor when rvalue references are disabled.
2014-09-23 23:34:42 +02:00
Vicente J. Botet Escriba
abb3fc97e0
fix reported error.
2014-09-23 23:30:26 +02:00
Vicente J. Botet Escriba
ec6ae7b9b4
Take in account small durations.
2014-09-23 23:29:38 +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
617b979214
try a workaround with MSVC for error C3520: 'T' : parameter pack must be expanded in this context.
2014-09-21 18:58:41 +02:00
Vicente J. Botet Escriba
96667cfcce
MSVC 10 doesn't provide std::is_move_constructible. Let as if all classes were movable in this case.
2014-09-21 18:58:23 +02:00
Vicente J. Botet Escriba
a981650ce9
cleanup.
2014-09-20 16:11:03 +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
ef04ce8bce
enable disabled test.
2014-09-20 14:53:06 +02:00
Vicente J. Botet Escriba
5091ad705f
Added when_any/variadic_pass.cpp.
2014-09-20 14:37:47 +02:00
Vicente J. Botet Escriba
b77f802c47
variadic when_all/when_any must retur tuple instead of vector even when all the types are the same..
2014-09-20 13:25:50 +02:00
Vicente J. Botet Escriba
da945436c1
avoid call to boost::get_system_time() when relative is true.
2014-09-14 21:51:01 +02:00
Vicente J. Botet Escriba
27befdf26f
Added test for threads_specific_ptr<void>.
2014-09-14 21:49:31 +02:00
Vicente J. Botet Escriba
f73007910a
replace unique_ptr<T> by optional<T> on shared_state when rvalue references are supported by the compiler, as optional<T> doesn't use Boost.Move.
2014-09-14 21:12:44 +02:00
Vicente J. Botet Escriba
8c3cfacf06
emulate template alias queue views.
2014-09-14 21:00:27 +02:00
Vicente J. Botet Escriba
7d4392e157
try to get rid of missing std::is_copy_constructible < gcc-4.5.
2014-09-14 09:09:59 +02:00
Vicente J. Botet Escriba
aff3f424a9
move sync_queue_closed to concurrent directory.
2014-09-13 22:17:19 +02:00
Vicente J. Botet Escriba
546ca909c4
try to avoid issue with < gcc-4.5 - error: 'is_copy_constructible' is not a member of 'std'.
2014-09-13 22:16:57 +02:00
Vicente J. Botet Escriba
7dac51706c
Merge branch 'develop'
2014-09-12 23:40:30 +02:00
Vicente J. Botet Escriba
5ee0e27b5a
add more try catch to trac the source of the error.
2014-09-12 22:50:56 +02:00
Vicente J. Botet Escriba
b4fd7fdeb1
fail test when exception cautch instead of rethrow it.
2014-09-11 13:33:43 +02:00
Vicente J. Botet Escriba
c75ea7db89
force the use of lambdas when available on multi_thread_pass test.
2014-09-11 13:32:11 +02:00
Vicente J. Botet Escriba
19294dc756
Change ref by ptr on queue fields of queue_views so that the default constructors can be generated on MSVC.
2014-09-11 13:30:48 +02:00
Vicente J. Botet Escriba
52a360775e
cleanup.
2014-09-11 07:32:40 +02:00
Vicente J. Botet Escriba
c632b75db1
fix uninitialized variable.
2014-09-11 07:29:53 +02:00
Vicente J. Botet Escriba
11e4c950ac
fix 10478 data race in boost/thread/future.hpp
2014-09-10 13:44:44 +02:00
Vicente J. Botet Escriba
8440e9a7d8
add tests on non_intettuption_point::sleep_...
2014-09-10 13:42:15 +02:00
Vicente J. Botet Escriba
02bc292c20
document non_intettuption_point::sleep_...
2014-09-10 13:41:11 +02:00
Vicente J. Botet Escriba
6d68bac44b
fix move semantic issues on promise::set_value. Prepare the use of unique_ptr<T,D> to fix allocator issue.
2014-09-09 13:21:01 +02:00
Vicente J. Botet Escriba
5d0d128cab
let movelib do the std adaptation.
2014-09-09 13:15:51 +02:00
Vicente J. Botet Escriba
ec542d3c8b
remove commented code.
2014-09-08 05:49:10 +02:00
Vicente J. Botet Escriba
6e3216643b
Remove future_traits<> as there are always an specialization.
2014-09-07 19:46:02 +02:00
Vicente J. Botet Escriba
016f5653cf
Added when_all().then() tests.
2014-09-07 09:04:00 +02:00
Vicente J. Botet Escriba
ce46539183
Added when_all/when_any/queue_views tests.
2014-09-06 23:30:50 +02:00