Vicente J. Botet Escriba
37afdd2e9a
Moved test_scheduler_p to a explicit test_suite.
2014-11-05 01:03:44 +01:00
Vicente J. Botet Escriba
c87b24923a
Added scheduler at/after/on executor factory helper functions.
2014-11-05 00:41:29 +01:00
Vicente J. Botet Escriba
4f01891da7
Added not_ready and timeout queue_op_status. Make sync_timed_queue and sync_priority_queue conform to the sync_queue interface. Aapt the test to the new interface.
2014-11-02 15:13:37 +01:00
Vicente J. Botet Escriba
efab5af918
Fix inspection issue.
2014-11-02 15:11:28 +01:00
Vicente J. Botet Escriba
cbf9fe8a5c
Fix inspection issues.
2014-11-02 15:08:44 +01:00
Vicente J. Botet Escriba
6fd7dc0d94
Added move semantics for C++11 compilers. Need of a detail::priority_queue. Tried to do it for C++98, but heap_push/heap_pop algorithms are not move aware:(.
2014-11-01 22:18:32 +01:00
Vicente J. Botet Escriba
49d485f1aa
Removed BOOST_THREAD_QUEUE_DEPRECATE_OLD for priority and timed queues.
2014-11-01 11:21:09 +01:00
Vicente J. Botet Escriba
d5c41e4c4a
Added tyy_pus returning queue_op_status. Rename is_closed to closed.
2014-10-31 23:49:34 +01:00
Vicente J. Botet Escriba
304240b206
Move priority/timed queues to concurrent name space and scheduled executors to executors name spapce.
2014-10-31 08:03:15 +01:00
Vicente J. Botet Escriba
c61c139933
merged scheduled executors GSOC project from Ian Forbed.
2014-10-31 00:19:10 +01: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
3e28ea806c
Added deferred then tests.
2014-10-11 07:33:57 +02:00
Vicente J. Botet Escriba
729c8b63bb
added missing file.
2014-10-05 09:06:52 +02:00
Vicente J. Botet Escriba
8fd4755e79
Added shared_future::then executor.
2014-10-04 10:36:57 +02:00
Vicente J. Botet Escriba
f3de7bf10f
Add fuutre::then(ex, fct).
2014-10-02 07:36:52 +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
b973e9b32e
remove BOOST_THREAD_NO_CXX11_DECLTYPE_N3276.
2014-09-28 13:46:21 +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
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
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
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
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
c632b75db1
fix uninitialized variable.
2014-09-11 07:29:53 +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
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
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
Vicente J. Botet Escriba
234df13faf
remove BOOST_THREAD_USES_LOG.
2014-09-01 19:59:30 +02:00
Vicente J. Botet Escriba
f36f5d6dbb
Added more async deferred tests.
2014-08-31 18:16:14 +02:00
Vicente J. Botet Escriba
9ee1044f92
Merge branch 'develop' of github.com:boostorg/thread into develop
2014-08-31 09:00:04 +02:00
Vicente J. Botet Escriba
ebeb36646c
Add test for issue #10340 .
2014-08-31 08:59:40 +02:00
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
d5f335b8a4
Merge branch 'winrt2' of https://github.com/MSOpenTech/thread into MSOpenTech-winrt2
2014-08-30 17:16:17 +01:00
Vicente J. Botet Escriba
074dcbcbf5
make polymorphic queues move operations only available if C++11 RVALE supported.
2014-08-28 22:26:02 +02:00
Vicente J. Botet Escriba
af6f80a3c7
Added generic_executor_ref.cpp tp regression tests.
2014-08-27 13:36:58 +02:00
Vicente J. Botet Escriba
ea0889485e
Make use of BOOST_THREAD_COPYABLE_AND_MOVABLE and BOOST_THREAD_COPY_ASSIGN_REF when appropriated.
2014-08-24 18:16:28 +02:00
Vicente J. Botet Escriba
f3fa80c866
Added generic_executor_ref, queue_base and queue views, fix some issues in executors.
2014-08-23 18:29:47 +02:00
Vicente J. Botet Escriba
2037a64c51
Avoid pedantic clang watnings.
2014-08-21 19:17:27 +02:00
Vicente J. Botet Escriba
74132067ba
prepare tss<void>.
2014-07-31 19:29:19 +02:00
Steve Gates
a1faacd7bb
Fixing up copyrights that got reordered.
2014-07-09 16:43:48 -07:00
Steve Gates
866b78cbd0
Addressing more feedback:
...
Reverting disabling thread attributes for WinRT.
Created common GetSystemInfo/GetNativeSystemInfo function.
Fix this_thread get_id() bug on WinRT.
Enabled initializing the Windows Runtime in each test for execution. This
is not when using in Windows store/phone applications, just if a desktop
app.
2014-07-09 15:47:37 -07:00
Steve Gates
0861f81b05
Merge branch 'develop' of https://github.com/boostorg/thread into feedback
2014-07-08 14:53:47 -07:00
Steve Gates
6488028a22
Incorporating feedback: removed copyright, removed some ifdefs.
2014-07-08 14:53:39 -07:00
Vicente J. Botet Escriba
6e154d45a4
fix wait_pull_front issue introduced in previous commit and add more tests.
2014-07-06 11:05:51 +02:00
Vicente J. Botet Escriba
6074487b73
Fix isse on sync_bounded_queue::wait_push_front and add tests.
2014-07-05 19:38:10 +02:00