Commit Graph

380 Commits

Author SHA1 Message Date
Oliver Kowalke
8043977546 remove empty() and has_result() from asymmetric coroutine 2014-02-09 09:23:34 +01:00
Oliver Kowalke
a7646da2ad update doucmentation 2014-02-09 09:13:16 +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
864e45e22a some fixes in docu 2014-02-06 18:01:38 +01:00
Oliver Kowalke
3efdb8309f update documentation 2014-02-06 17:44:39 +01:00
Oliver Kowalke
1caaffa6b1 make pinning thread to cpu a choice 2014-02-06 17:23:46 +01:00
Oliver Kowalke
77cc851024 docu 2014-02-05 20:33:03 +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
224bcab410 documentation update 2014-02-05 17:28:08 +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
d7522869f3 ignore html xml 2014-02-04 19:46:34 +01:00
Oliver Kowalke
0e1a1e327b remove has_result() - unecessary 2014-02-04 19:45:13 +01:00
Oliver Kowalke
0d8f8cf865 fix asymmetric.qbk 2014-02-04 19:44:48 +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
884bb39f04 update documentation 2014-02-04 17:30:37 +01:00
Oliver Kowalke
04f6936ec5 consolidate c++11 example for symmetric coroutine 2014-02-03 20:18:22 +01:00
Oliver Kowalke
1fde4d2219 c++11 examples for symmetric coroutines 2014-02-03 20:09:51 +01:00
Oliver Kowalke
9419e36876 rename coroutine -> asymmetric_coroutine in examples 2014-02-03 19:26:39 +01:00
Oliver Kowalke
67e3c8ef6a add examples for symmetric coroutines 2014-02-03 19:21:48 +01:00
Oliver Kowalke
341503066c add yield() to symmetric_coroutine_impl/self 2014-02-03 19:21:25 +01:00
Oliver Kowalke
a6d9c1c773 add simple example for symmetric coroutines 2014-02-02 19:56:28 +01:00
Oliver Kowalke
6e51c8222c print overhead of measurement in preformance tests 2014-02-02 19:34:17 +01:00
Oliver Kowalke
af0f6110d2 perfromance tests for symmetric coroutines 2014-02-02 18:36:30 +01:00
Oliver Kowalke
81671f503e use name asymmetric_coroutine in perfromance test 2014-02-02 17:06:50 +01:00
Oliver Kowalke
1fbed2d0c3 use asymmetric_coroutine<> in unit-test 2014-02-02 17:03:07 +01:00
Oliver Kowalke
9d2f6bd6b5 add unit-tests for symmetric coroutines 2014-02-02 17:02:35 +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
bc812daf8a fix documentation: performance of x86_64 2014-01-29 17:27:35 +01:00