Commit Graph

151 Commits

Author SHA1 Message Date
Oliver Kowalke
c913a541d1 corrected corourine_context in asyymetric coroutine 2014-03-11 19:52:39 +01:00
Oliver Kowalke
189fcd1027 coroutine_context changed; creating coroutine changed 2014-03-10 20:28:19 +01:00
Oliver Kowalke
4424232cf1 bugfix for #9760 2014-03-09 15:01:44 +01:00
Oliver Kowalke
4c780e4080 remove stack_tuple 2014-03-04 09:28:51 +01:00
Oliver Kowalke
89d6d8e9e6 remove prame warning 2014-03-01 09:34:24 +01:00
Oliver Kowalke
862fad87c4 use stack_allocator as default 2014-03-01 07:59:08 +01:00
Oliver Kowalke
f93db1d725 set missing flag flag_running for symmetric coroutine 2014-03-01 07:23:56 +01:00
Oliver Kowalke
03484ebce3 change coroutine_context according to boost.context 2014-02-16 21:18:20 +01:00
Oliver Kowalke
727ec8444b add flag running - prevent from restarting a coroutine if already
running
2014-02-12 17:51:33 +01:00
Oliver Kowalke
f1b55e35c9 rename is_stack_unbound() -> is_stack_unbounded() 2014-02-11 18:01:47 +01:00
Oliver Kowalke
57c9c0a355 remove disable_iffrom ctors 2014-02-10 22:20:09 +01:00
Oliver Kowalke
44085bd85d fix invalid template args 2014-02-09 10:31:29 +01:00
Oliver Kowalke
dfd32f03ad fix typo 2014-02-09 10:26:36 +01:00
Oliver Kowalke
8043977546 remove empty() and has_result() from asymmetric coroutine 2014-02-09 09:23:34 +01:00
Oliver Kowalke
a961e495d5 remove passing rvalues for asyymetric corouties 2014-02-09 09:12:53 +01:00
Oliver Kowalke
da031fcfda remove passing rvalues 2014-02-09 09:03:47 +01:00
Oliver Kowalke
0557ffdc6b disable passing non type for yielding to 2014-02-08 10:37:35 +01:00
Oliver Kowalke
81c94d05f7 pass values ar const& (MSVC) 2014-02-07 17:38:22 +01:00
Oliver Kowalke
82a78583ff rename to symmetric_coroutine_call<> 2014-02-05 19:27:22 +01:00
Oliver Kowalke
baabddae44 rename symmetric_coroutine_self -> symmetric_coroutine_yield 2014-02-05 17:38:09 +01:00
Oliver Kowalke
abe14b450a iparameters are always transfer by switching to symmetric coroutien 2014-02-05 17:27:14 +01:00
Oliver Kowalke
dab8445947 add free swap() function for symmetric_coroutine_self 2014-02-05 17:25:42 +01:00
Oliver Kowalke
b225dc0e98 make ctor of symmetric_coroutine_self private
- symmetric_coroutine_self should only be created by the framewaork
2014-02-05 17:24:35 +01:00
Oliver Kowalke
6f6b8ceac4 remove forward decl of stack_context in symmetric_coroutine_self 2014-02-05 17:22:02 +01:00
Oliver Kowalke
37f79622fe change comments in function trampoline() 2014-02-05 17:20:46 +01:00
Oliver Kowalke
13454392a3 renme template parameter of symmetric_coroutine to Arg 2014-02-05 17:20:12 +01:00
Oliver Kowalke
7f039c6a5c add typedef ymmetric_coroutine<>::value_type 2014-02-04 20:40:56 +01:00
Oliver Kowalke
e0214a767a remove symmetric_coroutine<T>::operaotr()() 2014-02-04 20:20:57 +01:00
Oliver Kowalke
8b420bb388 remove empty() from symmetric_coroutine<> 2014-02-04 20:00:50 +01:00
Oliver Kowalke
2d6e4b019e add noexcept specifier to symmetric coutines API 2014-02-04 20:00:22 +01:00
Oliver Kowalke
0e1a1e327b remove has_result() - unecessary 2014-02-04 19:45:13 +01:00
Oliver Kowalke
a4c23cdeb3 call std::terminate() if coroutine-fn throws an excpetion 2014-02-04 19:43:45 +01:00
Oliver Kowalke
ec0d14f3b6 add Has_result() to symmetric_coroutine_self<> 2014-02-04 17:43:06 +01:00
Oliver Kowalke
341503066c add yield() to symmetric_coroutine_impl/self 2014-02-03 19:21:25 +01:00
Oliver Kowalke
76113d355d pass values per reference to other coroutine (yield_to) 2014-02-02 17:01:44 +01:00
Oliver Kowalke
2257d2ddf9 fix usage of invalid trampoline function 2014-02-02 17:01:15 +01:00
Oliver Kowalke
3e09584943 fixing type deduction 2014-02-02 11:37:55 +01:00
Oliver Kowalke
1fd3d25998 formating 2014-02-02 11:25:02 +01:00
Oliver Kowalke
f19a3bcc98 first working draft of symmetric coroutines 2014-02-02 08:14:32 +01:00
Oliver Kowalke
5561946685 remove virtual destructor - not derived 2014-02-01 11:25:13 +01:00
Oliver Kowalke
ad206b293d renamic coroutine<> -> asymmetric_coroutine<> 2014-02-01 11:24:38 +01:00
Oliver Kowalke
b3b1d2bc70 add symmetric_coroutine 2014-01-30 17:20:58 +01:00
Oliver Kowalke
ddd9a6f5d5 rename coroutine -> asymmetric_coroutine 2014-01-30 17:20:37 +01:00
Oliver Kowalke
0223e75a70 remove pull/push_coroutine_object classes 2014-01-29 16:59:19 +01:00
Oliver Kowalke
d5e8413b5d remove pull/push_coroutine_object< void > 2014-01-28 20:46:45 +01:00
Oliver Kowalke
c61f465a0b fix Windows - typos 2014-01-28 19:03:04 +01:00
Oliver Kowalke
e14071c2d6 add missingtemplate arg in coroutine_fn typedef 2014-01-28 18:52:26 +01:00
Oliver Kowalke
1812f5fc45 fxes for C++11 part 2014-01-28 18:07:14 +01:00
Oliver Kowalke
23659091e1 fix passing moveable coroutine-fn to setup/trampoline 2014-01-28 17:58:23 +01:00
Oliver Kowalke
43a3311df0 rename simple_stack_allocator into standard_stack_allocator
Conflicts:
	performance/performance_create_standard.cpp
2014-01-27 20:09:27 +01:00
Oliver Kowalke
e74929f66a enable/disable stack unwinding in performance tests 2014-01-26 11:16:31 +01:00
Oliver Kowalke
7b6bba07c0 allocate on stack 2014-01-25 23:41:06 +01:00
Oliver Kowalke
8857a31281 pull_coroutine< void > - ctor changes 2014-01-23 19:45:37 +01:00
Oliver Kowalke
b39c82b4ca remove template-specialization for pointers 2014-01-22 17:37:08 +01:00
Oliver Kowalke
9568d68287 remove param<> 2014-01-21 20:47:50 +01:00
Oliver Kowalke
d1308f553a fixx iterator support 2014-01-21 20:33:21 +01:00
Oliver Kowalke
3675d0146e remove optional<> 2014-01-21 19:07:13 +01:00
Oliver Kowalke
cd88c751db rename holder -> parameters 2014-01-20 20:49:05 +01:00
Oliver Kowalke
f89144d2b6 remove optional<> from holder 2014-01-20 20:39:05 +01:00
Oliver Kowalke
2b41067015 rework coroutine-ctors (rvalue references) 2014-01-19 11:26:51 +01:00
Oliver Kowalke
ceb70b4f3a fix rvalue references for push()/operator()(Arg) 2014-01-18 12:37:46 +01:00
Oliver Kowalke
26e3277bbc consolidate operator()( Arg) 2014-01-18 12:15:37 +01:00
Oliver Kowalke
d7825c7b32 fix class coroutine_context 2014-01-18 11:17:57 +01:00
Oliver Kowalke
f420a63ca1 use explicit-operator-bool macro from boost::utility 2014-01-17 16:38:16 +01:00
Oliver Kowalke
c0af5821a5 refactoring of stack-allocators 2014-01-16 20:38:22 +01:00
Oliver Kowalke
f15be7a0de drop const_iterator 2013-12-19 17:20:40 +01:00
Oliver Kowalke
f9f4caf47b sync with olk-repo 2013-12-04 22:26:09 +01:00
Oliver Kowalke
e5120a4b71 coroutine: remove deprecated interface
[SVN r86521]
2013-10-30 08:23:09 +00:00
Oliver Kowalke
f00676e2c6 coroutine: fix missing 'inline' (MSVC)
[SVN r85983]
2013-09-28 15:54:09 +00:00
Oliver Kowalke
2e191b6632 coroutine: fixing export issue for MSVC; increase used stacksize for example
[SVN r85979]
2013-09-28 15:00:26 +00:00
Oliver Kowalke
4c4f2afbd5 coroutine: coroutine_error + coroutine_errc
[SVN r85139]
2013-07-23 19:49:38 +00:00
Oliver Kowalke
01235d2ee7 coroutine: update of interface
[SVN r85105]
2013-07-22 15:03:42 +00:00
Oliver Kowalke
865902f9b5 coroutine: intro of coroutine<>::pull_type, coroutine<>::push_type
[SVN r85058]
2013-07-17 14:09:07 +00:00
Oliver Kowalke
c39d9509a4 coroutine: fix auto-link in config.hpp and update examples
[SVN r84996]
2013-07-10 06:44:14 +00:00
Oliver Kowalke
98fe090fe6 coroutine: enhance evaluating macros
[SVN r84708]
2013-06-09 08:07:47 +00:00
Oliver Kowalke
a7c36808de coroutine: new push/pull interface
[SVN r84657]
2013-06-06 17:26:45 +00:00
Oliver Kowalke
e3b7ffd486 coroutine: fixes for MSVC
[SVN r84537]
2013-05-28 18:59:27 +00:00
Oliver Kowalke
3406ea2d45 coroutine: fix using typename in specialized tempalte
[SVN r84475]
2013-05-25 07:27:06 +00:00
Oliver Kowalke
ce1270c353 coroutine: activate new interface V2
[SVN r84428]
2013-05-22 20:15:43 +00:00
Oliver Kowalke
bcae158775 coroutine: disable warning for MSVC
[SVN r84200]
2013-05-09 05:47:16 +00:00
Oliver Kowalke
951700832a coroutine: fix for 8526, reorg. for new interface
[SVN r84099]
2013-05-01 10:40:07 +00:00
Oliver Kowalke
70c20a5ef2 coroutine: fix for segmented-stacks + parameter passing
[SVN r83236]
2013-03-01 23:01:29 +00:00
Oliver Kowalke
9107dca88d coroutine: fix for bug #8101 - post-fix increment for iterators
[SVN r83046]
2013-02-20 15:52:32 +00:00
Oliver Kowalke
720d5fa037 coroutine: fix for#8024 for C++11 too
[SVN r82974]
2013-02-18 15:50:07 +00:00
Oliver Kowalke
ec4abeb3ec coroutine: fix for bug #8024 - create const_iterator from coroutine
[SVN r82869]
2013-02-14 12:29:51 +00:00
Oliver Kowalke
1e899706fa coroutine: fix for bug #8023
[SVN r82841]
2013-02-12 19:23:48 +00:00
Oliver Kowalke
3bf228523c coroutine: support for segmented stacks added
[SVN r82840]
2013-02-12 19:01:29 +00:00
Oliver Kowalke
d16dfc92e5 coroutine: support C++11 range-for
[SVN r82760]
2013-02-06 16:59:17 +00:00
Oliver Kowalke
957772da96 corroutine: remove extra ;
[SVN r82716]
2013-02-04 07:19:28 +00:00
Oliver Kowalke
514373bf54 coroutine: remove unused params
[SVN r82715]
2013-02-04 07:09:38 +00:00
Oliver Kowalke
e17a4861e5 coroutine: make eval. of return values depended on BOOST_DISABLE_ASSERTS
[SVN r82602]
2013-01-25 09:03:44 +00:00
Oliver Kowalke
99cf44c93b coroutine: fix min/max problem (Windows macros)
[SVN r81789]
2012-12-08 11:38:12 +00:00
Oliver Kowalke
5bcd700e86 coroutine: fix memset() typo, add Licence and Copyright
[SVN r81767]
2012-12-07 17:55:34 +00:00
Oliver Kowalke
bafc8297f6 coroutine: fix memset issue
[SVN r81694]
2012-12-03 14:17:12 +00:00
Oliver Kowalke
fe6ecee884 coroutine: bugfix regarding to min/max MACROS from MS
[SVN r81690]
2012-12-03 12:17:51 +00:00
Oliver Kowalke
d79bae0ef0 coroutine: corrected BOOST_STATIC_ASSERT
[SVN r81631]
2012-11-30 07:52:01 +00:00
Oliver Kowalke
154f51b734 coroutine: remove static assert
[SVN r81618]
2012-11-28 21:50:36 +00:00
Oliver Kowalke
85ff848f9f coroutine: clean-up in coroutine_object
[SVN r81530]
2012-11-25 18:23:16 +00:00
Oliver Kowalke
6b0ef8de64 coroutine: access tuple members via global get<>() (required for older compilers)
[SVN r81527]
2012-11-25 12:11:30 +00:00
Oliver Kowalke
ffb718143b coroutine: replace deprecated BOOST_NO_RVALUE_REFERENCES
[SVN r81524]
2012-11-25 08:07:18 +00:00