2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-19 14:22:23 +00:00
Commit Graph

546 Commits

Author SHA1 Message Date
Oliver Kowalke
fcdbe3bc66 e own implementation of future_errc and related 2015-12-18 20:38:23 +01:00
Oliver Kowalke
3a2e68b4b5 make a local copy of allocator in destroy_() 2015-12-18 18:26:52 +01:00
Oliver Kowalke
b7944e583f re-factoring/formating 2015-12-18 18:25:35 +01:00
Oliver Kowalke
117384d839 implement condition_variable in terms of condition_variable_any 2015-12-18 07:38:42 +01:00
Oliver Kowalke
550aed7c37 apply noexcept to less-op. for fiber 2015-12-17 21:34:19 +01:00
Oliver Kowalke
ec1911e603 apply noexcept to free-fucntion swap() 2015-12-17 21:32:56 +01:00
Oliver Kowalke
b3841332a9 replace std::bind() by wrap() for C++11 2015-12-17 20:11:27 +01:00
Oliver Kowalke
fe9a8cc7e1 task_object ctor accept lvalue 2015-12-17 20:07:42 +01:00
Oliver Kowalke
eddd1e7309 remove redundant asign of false to obtained_ in packaged_task 2015-12-17 20:06:49 +01:00
Oliver Kowalke
7d3b9aee57 include fiber's config.hpp 2015-12-17 20:06:22 +01:00
Oliver Kowalke
468e815d3a fix usage of disable_overload 2015-12-16 22:08:47 +01:00
Oliver Kowalke
710fec359c msvc-14.0 can not deal with using declaration 2015-12-16 19:33:48 +01:00
Oliver Kowalke
af9b2cef21 remove noexcept specifier in boudned_channel 2015-12-16 19:14:10 +01:00
Oliver Kowalke
7fd45063db exclude ctor with forwarding-reference from overload resolution
- prevent ctor with forwarding-resolution is used as copy-ctor
2015-12-16 16:50:04 +01:00
Oliver Kowalke
b62462241f pass execution_context via reference to std::bind()-object 2015-12-15 19:05:40 +01:00
Oliver Kowalke
073e59cf22 fix usage of result_of in async() 2015-12-15 18:52:31 +01:00
Oliver Kowalke
7753843287 pass deferred-call per reference to apply() 2015-12-15 09:12:11 +01:00
Oliver Kowalke
4168236a4a add missing decay_copy.hpp 2015-12-14 22:04:09 +01:00
Oliver Kowalke
4570c29d8a decay-copy deferred callable 2015-12-14 20:47:35 +01:00
Oliver Kowalke
2036f0b7b4 make context non-copyable 2015-12-14 20:46:48 +01:00
Oliver Kowalke
f2d85c1584 use std::cv_status 2015-12-14 20:45:23 +01:00
Oliver Kowalke
bd88147589 exclude packaged_task ctor form overload resolution 2015-12-13 17:11:23 +01:00
Oliver Kowalke
5753122693 remove cv-qualifiers for function passed to packaged_task 2015-12-13 14:21:54 +01:00
Oliver Kowalke
b411006139 don not decay-copy arguments of packaged_task 2015-12-13 13:47:15 +01:00
Oliver Kowalke
570b0a9ea9 rename condition -> condition_variable 2015-12-13 13:46:26 +01:00
Oliver Kowalke
3272f3ca8a fix result_of<> usage 2015-12-13 10:52:18 +01:00
Oliver Kowalke
aac6b190f3 use brace-initialization at context construction 2015-12-13 10:51:37 +01:00
Oliver Kowalke
db180f08da relax to C++11 2015-12-12 23:19:33 +01:00
Oliver Kowalke
2e6e215eba use std::move() in move-ctor/assignment operator 2015-12-10 17:20:51 +01:00
Oliver Kowalke
5b2effab58 relax to C++11 2015-12-09 19:21:25 +01:00
Oliver Kowalke
73b5d9fffc Update shared_state.hpp 2015-12-08 08:43:15 +01:00
Oliver Kowalke
622403426f remove decay_t<> from task_object typedef 2015-12-07 19:20:46 +01:00
Oliver Kowalke
a49cf433f7 some code formating 2015-12-07 18:47:35 +01:00
Oliver Kowalke
228a676875 fix implementation of packaged_task::reset() 2015-12-07 18:47:11 +01:00
Oliver Kowalke
398cb6fd48 fix typedef of task_object in packaged_task 2015-12-07 18:45:36 +01:00
Oliver Kowalke
f23cad16af make ctor of packged_task explicit 2015-12-07 18:44:41 +01:00
Oliver Kowalke
45599678e6 fix usage of aligned_storage in shared_state_base 2015-12-07 18:43:34 +01:00
Oliver Kowalke
05d447b011 use global new-op for context control-struct 2015-12-07 18:42:01 +01:00
Oliver Kowalke
df2468765b qualify ctors with noexcept 2015-12-07 18:41:36 +01:00
Oliver Kowalke
2838e2d8e2 do_invoke() renamed to apply() 2015-12-06 21:53:24 +01:00
Oliver Kowalke
2d0dbb4fa1 use allocator_traits 2015-12-06 21:52:43 +01:00
Oliver Kowalke
117a55d8c6 replace user-defined future_status+ future_errc by those of std 2015-12-05 20:16:07 +01:00
Oliver Kowalke
2623916242 define fiber::future_status in terms of std::future_status 2015-12-05 20:05:55 +01:00
Oliver Kowalke
9e28e386aa re-factor promise 2015-12-05 18:17:19 +01:00
Oliver Kowalke
8098834d71 use of using directive for future::wait_for()/future::wait_until() 2015-12-05 15:54:55 +01:00
Oliver Kowalke
c8071c5373 fix data_t for MSVC 14 (initializer-list issue) 2015-12-04 18:26:49 +01:00
Oliver Kowalke
3319841788 use spinlock_lock+context instead of function<> 2015-12-03 17:57:00 +01:00
Oliver Kowalke
abbc507d13 re-factor futures 2015-12-02 21:57:27 +01:00
Oliver Kowalke
9063b8dc5b some C++14 polishing 2015-12-02 17:19:51 +01:00
Oliver Kowalke
0519929d26 C++14 - context 2015-12-02 17:18:31 +01:00