2
0
mirror of https://github.com/boostorg/context.git synced 2026-01-19 04:02:17 +00:00
Commit Graph

88 Commits

Author SHA1 Message Date
Oliver Kowalke
ab0865e168 implementation of fibers without scheduler according to P0876R0 2018-01-16 20:19:12 +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
Oliver Kowalke
c0ccac4460 remove 4th argument in example jump 2015-10-28 13:25:40 +01:00
Oliver Kowalke
4f9df7d8e4 segmented-stacks=on -> only segmented_stack can be used 2015-10-18 19:16:19 +02:00
Oliver Kowalke
43d89cb639 support passing argument between execution_context' 2015-10-15 17:42:25 +02:00
Oliver Kowalke
c60534cf89 default ctor of execution_context without stack allocator 2015-09-26 20:20:58 +02:00
Oliver Kowalke
175dad2d04 std::isdigit() -> isdigit() Argument depended lookup 2015-06-05 14:57:49 +02:00
Oliver Kowalke
aadb5968f4 remove parent-tracking in execution_context
- tracking parent inside of execution_context:
- costs performance
- execution_context doesn't realy know which execution_context should be
  executed next (if it's terminating)
- fibers do not care of the parent context -> scheduler decides which is
  the next context
2015-06-03 09:00:21 +02:00
Oliver Kowalke
f19a744e72 add example cycle, deal with cycles in parentship 2015-03-31 20:01:55 +02:00
Oliver Kowalke
41123e262d make execution_context conform to N4397 2015-03-26 10:00:42 +01:00
Oliver Kowalke
55b10634f7 return to parent activation record 2015-03-25 22:43:37 +01:00