Commit Graph

97 Commits

Author SHA1 Message Date
Oliver Kowalke
0c754f90c5 execution_context removed 2019-08-29 13:42:03 +02:00
Oliver Kowalke
2e37599461 remove all.hpp because of name clashes (forced_unwind) 2018-04-14 11:31:05 +02:00
Oliver Kowalke
72e2f565d3 fix example backtrace 2018-03-21 08:38:58 +01:00
Oliver Kowalke
388a255ee8 rvalue-ref qualified resume()/resume_with() only 2018-02-09 17:27:35 +01:00
Oliver Kowalke
7c3a6b51c5 mark execution_context (v1) as deprecated 2018-02-08 09:56:22 +01:00
Oliver Kowalke
618629a987 examples for all context-APIs 2018-02-06 19:29:55 +01:00
Oliver Kowalke
370e35739d modify examples parser and throw 2018-02-05 20:48:47 +01:00
Oliver Kowalke
3fd96c4ef4 add example circle
- demonstrates that fibers keep their identities
2018-02-05 13:31:35 +01:00
Oliver Kowalke
f5327520d6 return fiber from resume()/resume_with() 2018-02-05 13:31:35 +01:00
Oliver Kowalke
10d3264f7b implementation of fibers without scheduler according to P0876R0 2018-02-05 13:31:32 +01:00
Oliver Kowalke
e2663ba473 return exit-code from example 2017-10-02 15:19:52 +02:00
Oliver Kowalke
420554fe9a function executed by resume_with() has to return a continuation 2017-08-10 18:20:29 +02:00
Oliver Kowalke
8346fbfa89 no data transfer with call/cc 2017-08-01 09:43:29 +02:00
Oliver Kowalke
fce5aef348 fix example for FreeBSD 2017-06-17 17:14:00 +02:00
Oliver Kowalke
df8c107f91 example demonstrating continuation::resume_with() 2017-06-16 17:34:44 +02:00
Oliver Kowalke
e038a7402c fix minimum/default stacksize for POSIX 2017-06-15 18:06:11 +02:00
Oliver Kowalke
73add9eb12 cleanup examples directory 2017-06-01 18:20:02 +02:00
Oliver Kowalke
4b8a730919 support ucontext_t in callcc() 2017-06-01 18:20:02 +02:00
Oliver Kowalke
82293a2c03 rename of continuation member functions 2017-03-05 10:22:48 +01:00
Oliver Kowalke
25ed545efb ontop-fn accept rvalue reference to continuation 2017-02-04 06:58:17 +01:00
oliver Kowalke
3a822359ec resume() -> continuation::operator() 2017-02-02 09:19:10 +01:00
oliver Kowalke
98291526a7 rename transfer_data() -> get_data() 2017-02-01 09:30:35 +01:00
Oliver Kowalke
f2e1761a4d fix example fibonacci 2017-01-08 09:38:37 +01:00
Oliver Kowalke
e847c37d43 modify example endless_loop 2017-01-07 16:06:50 +01:00
Oliver Kowalke
dbd95e8421 callcc() -> resume() 2017-01-05 18:59:02 +01:00
Oliver Kowalke
ac38815b6d refactor all.hpp 2017-01-02 10:07:18 +01:00
Oliver Kowalke
6aafda324d decouple passed types 2017-01-02 10:07:17 +01:00
Oliver Kowalke
d32842cb50 context-fn signature continuation(*)(continuation &&) 2016-12-28 14:28:44 +01:00
Oliver Kowalke
ba37cd3968 remove template arg from callcc() 2016-12-28 12:36:25 +01:00
Oliver Kowalke
b78e0c894b return values transferred by continuation 2016-12-26 10:11:06 +01:00
oliver Kowalke
7ab9ace7b3 introduction of callcc()/continuation<> 2016-12-25 21:23:04 +01:00
Oliver Kowalke
af1cffe8bc rename sub-directories in directory examples 2016-12-20 04:51:56 +01:00
Oliver Kowalke
e607528e4a reduced signature of ontop-fn 2016-11-21 08:19:02 +01:00
Oliver Kowalke
46c8ef4e8d backtrace example using libunwind 2016-10-11 11:42:32 +02:00
Oliver Kowalke
d7e39b4c18 pass ecv2 a universal reference to context-fn 2016-10-07 19:20:30 +02:00
Oliver Kowalke
bf7fb06d1c use this in captures-list for example parameter 2016-03-05 17:03:34 +01:00
Oliver Kowalke
e753ad4846 return context in example echosse 2016-02-23 18:58:29 +01:00
Oliver Kowalke
319f9844a5 example for SSE 2016-02-22 19:48:43 +01:00
Oliver Kowalke
fdad9ddef8 fix parameter example 2016-02-15 19:37:49 +01:00
Oliver Kowalke
e2c93a84f4 add example throw.cpp 2016-02-10 21:46:50 +01:00
Oliver Kowalke
1a72352c9c update ontop example 2016-02-10 20:59:59 +01:00
Oliver Kowalke
a136c521f5 return data from function with exec_ontop 2016-02-10 19:27:39 +01:00
Oliver Kowalke
cf783fd907 make execution_context (v2) typesafe 2016-02-08 18:36:58 +01:00
Oliver Kowalke
68a57f29b3 rename captued_context to execution_context
- split into execution_context v2 (previous captured_context)
  and execution_context v1
- v1 enabled if segmented-stacks=on at b2 commandline
2016-02-06 12:18:38 +01:00
Oliver Kowalke
7d0ea94a2b update examples 2016-01-13 16:59:09 +01:00
Oliver Kowalke
fe73f5ad9e update examples for captured_context 2016-01-12 19:31:52 +01:00
Oliver Kowalke
834ca26aed remove examples for fcontext_t 2016-01-12 19:31:29 +01:00
Oliver Kowalke
ba357205a9 class captured_context added 2016-01-01 22:03:18 +01:00
Oliver Kowalke
d564cccf82 refactor execution-context 2015-11-29 16:12:28 +01:00
Oliver Kowalke
4d68f47767 fcontext uses 'void*' for data transfer 2015-11-28 22:58:36 +01:00