2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-22 05:42:37 +00:00

Commit Graph

  • 6f91af2154 Try to address #9569. Vicente J. Botet Escriba 2014-10-05 09:11:58 +02:00
  • c3cff80557 Merge branch 'develop' of github.com:boostorg/thread into develop Vicente J. Botet Escriba 2014-10-05 09:07:18 +02:00
  • 729c8b63bb added missing file. Vicente J. Botet Escriba 2014-10-05 09:06:52 +02:00
  • 6fe7f44ea0 Clarified issue #6782 which can now be closed. Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) 2014-10-04 19:47:48 +01:00
  • 8fd4755e79 Added shared_future::then executor. Vicente J. Botet Escriba 2014-10-04 10:36:57 +02:00
  • 02b007a20e Make nullary_function copyable and movable following Boost.Move. Make use of std::shared_ptr when available. Vicente J. Botet Escriba 2014-10-04 10:36:44 +02:00
  • c0c78e87fc Make invoker copyable and movable following Boost.Move. Vicente J. Botet Escriba 2014-10-04 10:36:31 +02:00
  • 58cde5af05 Trying to use std::function for executors::work. This doesn't works yet. Vicente J. Botet Escriba 2014-10-03 21:46:57 +02:00
  • c1f2c8a1f1 Added shared_ptr.hpp. Vicente J. Botet Escriba 2014-10-03 21:43:50 +02:00
  • bacf5b52ec The added commented lines should work, but don't. Vicente J. Botet Escriba 2014-10-03 21:42:42 +02:00
  • 3babf7966e update doc for future/shared_future::then(Executor, Fct). Vicente J. Botet Escriba 2014-10-02 22:34:47 +02:00
  • f3de7bf10f Add fuutre::then(ex, fct). Vicente J. Botet Escriba 2014-10-02 07:36:52 +02:00
  • 90154217cf Added const to shred_future::then(). Vicente J. Botet Escriba 2014-10-01 08:34:34 +02:00
  • ac0b2f9ba7 minor changes to unwrap. Vicente J. Botet Escriba 2014-10-01 07:55:36 +02:00
  • da739e680a Merge pull request #27 from Lastique/patch-4 Vicente J. Botet Escriba 2014-09-30 23:54:06 +02:00
  • b240b097c7 Fix GCC warnings about initialization order Andrey Semashev 2014-09-30 22:42:13 +04:00
  • debe2fb0d1 Merge pull request #26 from Lastique/patch-3 Vicente J. Botet Escriba 2014-09-30 20:38:35 +02:00
  • b264ec8fc0 Fix compilation with BOOST_USE_WINDOWS_H defined Andrey Semashev 2014-09-30 22:17:44 +04:00
  • 372f8fe10f Merge branch 'develop' of github.com:boostorg/thread into develop Vicente J. Botet Escriba 2014-09-29 23:22:16 +02:00
  • e3c240df0a shared_future<R>::then() should be const. Vicente J. Botet Escriba 2014-09-29 23:22:03 +02:00
  • 748ea5164e Merge pull request #25 from MarcelRaad/patch-1 Niall Douglas 2014-09-29 19:18:38 +01:00
  • b44627f97d don't use std::queue with MSVC 11. Vicente J. Botet Escriba 2014-09-29 00:19:35 +02:00
  • c8cd7d1d08 don't check for is_ready on all the futures when using when_wny. Vicente J. Botet Escriba 2014-09-29 00:19:18 +02:00
  • f0d0c0551b rollback to not define BOOST_RESULT_OF_USE_DECLTYPE. Vicente J. Botet Escriba 2014-09-29 00:00:49 +02:00
  • bb72eadbd8 Added validation of invalid inner future in wrap. Vicente J. Botet Escriba 2014-09-29 00:00:06 +02:00
  • f52f32afda Fix GetTickCount return type Marcel Raad 2014-09-28 21:25:36 +02:00
  • b973e9b32e remove BOOST_THREAD_NO_CXX11_DECLTYPE_N3276. Vicente J. Botet Escriba 2014-09-28 13:46:21 +02:00
  • 1ffef9ed2d Add missing invoke.hpp include. Vicente J. Botet Escriba 2014-09-28 13:40:16 +02:00
  • f24ea524bd Remove confusing may be remark and replace T by FutTypes. Vicente J. Botet Escriba 2014-09-28 11:55:35 +02:00
  • 4111471ba5 fix typo on file guard. Vicente J. Botet Escriba 2014-09-28 09:19:42 +02:00
  • 5e970b987e remove warning. Vicente J. Botet Escriba 2014-09-28 00:34:15 +02:00
  • c7b5729cf3 Avoid the use fo invoke if not available, even if the semantics is not the same. Vicente J. Botet Escriba 2014-09-27 19:59:25 +02:00
  • 291ebded8e update changes and compliance with last fixed issues. Vicente J. Botet Escriba 2014-09-27 19:58:17 +02:00
  • 0c2c8ed3b8 Update doc with last modifications from Concurrent TS. Vicente J. Botet Escriba 2014-09-27 19:57:33 +02:00
  • 5294dfa149 Update doc with last modifications from Concurrent TS. Vicente J. Botet Escriba 2014-09-27 16:45:39 +02:00
  • 7f5dfb633d MSVC 10 doesn't provide std::is_copy_constructible. Make use of the boost version. Vicente J. Botet Escriba 2014-09-26 06:48:40 +02:00
  • f381a7d591 Don't delete copy constructor when rvalue references are disabled. Vicente J. Botet Escriba 2014-09-25 07:25:39 +02:00
  • aceabda609 try to avoid to unlock prematurely to see if this is the cause of the test_latch spourious failure. Vicente J. Botet Escriba 2014-09-24 08:09:40 +02:00
  • dc4b619b57 Don't delete copy constructor when rvalue references are disabled. Vicente J. Botet Escriba 2014-09-23 23:34:42 +02:00
  • abb3fc97e0 fix reported error. Vicente J. Botet Escriba 2014-09-23 23:30:26 +02:00
  • ec6ae7b9b4 Take in account small durations. Vicente J. Botet Escriba 2014-09-23 23:29:38 +02:00
  • 8c5ba97d39 Don't use lambdas on test if not available. Vicente J. Botet Escriba 2014-09-21 18:59:08 +02:00
  • 617b979214 try a workaround with MSVC for error C3520: 'T' : parameter pack must be expanded in this context. Vicente J. Botet Escriba 2014-09-21 18:58:41 +02:00
  • 96667cfcce MSVC 10 doesn't provide std::is_move_constructible. Let as if all classes were movable in this case. Vicente J. Botet Escriba 2014-09-21 18:58:23 +02:00
  • a981650ce9 cleanup. Vicente J. Botet Escriba 2014-09-20 16:11:03 +02:00
  • 00b25853b2 Added when_all/when_any iterators tests. Vicente J. Botet Escriba 2014-09-20 16:05:19 +02:00
  • ef04ce8bce enable disabled test. Vicente J. Botet Escriba 2014-09-20 14:53:06 +02:00
  • 5091ad705f Added when_any/variadic_pass.cpp. Vicente J. Botet Escriba 2014-09-20 14:37:47 +02:00
  • b77f802c47 variadic when_all/when_any must retur tuple instead of vector even when all the types are the same.. Vicente J. Botet Escriba 2014-09-20 13:25:50 +02:00
  • da945436c1 avoid call to boost::get_system_time() when relative is true. Vicente J. Botet Escriba 2014-09-14 21:51:01 +02:00
  • 27befdf26f Added test for threads_specific_ptr<void>. Vicente J. Botet Escriba 2014-09-14 21:49:31 +02:00
  • 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. Vicente J. Botet Escriba 2014-09-14 21:12:44 +02:00
  • 8c3cfacf06 emulate template alias queue views. Vicente J. Botet Escriba 2014-09-14 21:00:27 +02:00
  • 7d4392e157 try to get rid of missing std::is_copy_constructible < gcc-4.5. Vicente J. Botet Escriba 2014-09-14 09:09:59 +02:00
  • aff3f424a9 move sync_queue_closed to concurrent directory. Vicente J. Botet Escriba 2014-09-13 22:17:19 +02:00
  • 546ca909c4 try to avoid issue with < gcc-4.5 - error: 'is_copy_constructible' is not a member of 'std'. Vicente J. Botet Escriba 2014-09-13 22:16:57 +02:00
  • 7dac51706c Merge branch 'develop' Vicente J. Botet Escriba 2014-09-12 23:40:30 +02:00
  • 5ee0e27b5a add more try catch to trac the source of the error. Vicente J. Botet Escriba 2014-09-12 22:50:56 +02:00
  • b4fd7fdeb1 fail test when exception cautch instead of rethrow it. Vicente J. Botet Escriba 2014-09-11 13:33:43 +02:00
  • c75ea7db89 force the use of lambdas when available on multi_thread_pass test. Vicente J. Botet Escriba 2014-09-11 13:32:11 +02:00
  • 19294dc756 Change ref by ptr on queue fields of queue_views so that the default constructors can be generated on MSVC. Vicente J. Botet Escriba 2014-09-11 13:30:48 +02:00
  • 52a360775e cleanup. Vicente J. Botet Escriba 2014-09-11 07:32:40 +02:00
  • c632b75db1 fix uninitialized variable. Vicente J. Botet Escriba 2014-09-11 07:29:53 +02:00
  • 11e4c950ac fix 10478 data race in boost/thread/future.hpp Vicente J. Botet Escriba 2014-09-10 13:44:44 +02:00
  • 8440e9a7d8 add tests on non_intettuption_point::sleep_... Vicente J. Botet Escriba 2014-09-10 13:42:15 +02:00
  • 02bc292c20 document non_intettuption_point::sleep_... Vicente J. Botet Escriba 2014-09-10 13:41:11 +02:00
  • 6d68bac44b fix move semantic issues on promise::set_value. Prepare the use of unique_ptr<T,D> to fix allocator issue. Vicente J. Botet Escriba 2014-09-09 13:21:01 +02:00
  • 5d0d128cab let movelib do the std adaptation. Vicente J. Botet Escriba 2014-09-09 13:15:51 +02:00
  • ec542d3c8b remove commented code. Vicente J. Botet Escriba 2014-09-08 05:49:10 +02:00
  • 6e3216643b Remove future_traits<> as there are always an specialization. Vicente J. Botet Escriba 2014-09-07 19:46:02 +02:00
  • 016f5653cf Added when_all().then() tests. Vicente J. Botet Escriba 2014-09-07 09:04:00 +02:00
  • ce46539183 Added when_all/when_any/queue_views tests. Vicente J. Botet Escriba 2014-09-06 23:30:50 +02:00
  • e93035ce42 Added run_if_is_deferred to shared_future. Vicente J. Botet Escriba 2014-09-06 23:30:36 +02:00
  • 53a46593a8 make classes using BOOST_THREAD_MOVABLE_ONLY<T> satisfy is_copy_constructible<T>::value == false. Vicente J. Botet Escriba 2014-09-06 14:20:59 +02:00
  • c2426b8fad fix missin common virtual function in queue_base_copyable_only. Vicente J. Botet Escriba 2014-09-06 14:19:37 +02:00
  • 7d841f6337 fix typo. Vicente J. Botet Escriba 2014-09-06 14:18:36 +02:00
  • 556bbde8a7 Implemented when_all/when_any when a tuple is returned. Vicente J. Botet Escriba 2014-09-04 20:00:03 +02:00
  • a0c1462a6a merge from develop. Vicente J. Botet Escriba 2014-09-02 21:41:59 +02:00
  • 234df13faf remove BOOST_THREAD_USES_LOG. Vicente J. Botet Escriba 2014-09-01 19:59:30 +02:00
  • 24983f0bce Let the deferred tests be executed when BOOST_THREAD_PROVIDES_VARIADIC_THREAD is defined. Vicente J. Botet Escriba 2014-08-31 20:05:43 +02:00
  • 722997379b Added thread pool join function. Vicente J. Botet Escriba 2014-08-31 18:16:49 +02:00
  • f36f5d6dbb Added more async deferred tests. Vicente J. Botet Escriba 2014-08-31 18:16:14 +02:00
  • 9ee1044f92 Merge branch 'develop' of github.com:boostorg/thread into develop Vicente J. Botet Escriba 2014-08-31 09:00:04 +02:00
  • ebeb36646c Add test for issue #10340. Vicente J. Botet Escriba 2014-08-31 08:59:40 +02:00
  • 8ebf0e7f21 take in account ready tasks on when_all/when_any. Vicente J. Botet Escriba 2014-08-31 08:57:27 +02:00
  • 0dc2f69bc1 Fixed typo in just made merge for WinRT support. Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) 2014-08-30 18:58:43 +01:00
  • c3b549d947 Merge branch 'MSOpenTech-winrt2' into develop Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) 2014-08-30 18:24:46 +01:00
  • 6552cf64b5 Fixed up WinRT support patch not compiling on WinRT. Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) 2014-08-30 18:24:13 +01:00
  • d5f335b8a4 Merge branch 'winrt2' of https://github.com/MSOpenTech/thread into MSOpenTech-winrt2 Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) 2014-08-30 17:16:17 +01:00
  • 80591fb64d try to fix 10428 for uinque_ptr issues. Vicente J. Botet Escriba 2014-08-30 17:57:12 +02:00
  • 0543b522cb try to fix 10340. Vicente J. Botet Escriba 2014-08-30 17:54:12 +02:00
  • 3dbc5d0664 Added when_all/when_any documentation. Vicente J. Botet Escriba 2014-08-30 13:43:42 +02:00
  • 2d0272345b update doc cith generic executor and queue views. Vicente J. Botet Escriba 2014-08-30 10:07:08 +02:00
  • f1a274b51c make it possible to have polymorphic queue copyable_only/movable_only/copyable_and_movable. Vicente J. Botet Escriba 2014-08-29 21:06:15 +02:00
  • b7f1706ab8 Add test won when_all iterators for c++98 compilers. Vicente J. Botet Escriba 2014-08-29 21:04:33 +02:00
  • f299fb8083 fix typo. Vicente J. Botet Escriba 2014-08-29 12:51:42 +02:00
  • 074dcbcbf5 make polymorphic queues move operations only available if C++11 RVALE supported. Vicente J. Botet Escriba 2014-08-28 22:26:02 +02:00
  • af6f80a3c7 Added generic_executor_ref.cpp tp regression tests. Vicente J. Botet Escriba 2014-08-27 13:36:58 +02:00
  • 957253401f Try to fix invoker making it ComyConstructible and Movable. Vicente J. Botet Escriba 2014-08-27 13:35:59 +02:00
  • 3195253230 rollback last merge as it is breaking all the regression tests. Vicente J. Botet Escriba 2014-08-27 00:16:19 +02:00