Commit Graph

97 Commits

Author SHA1 Message Date
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
Oliver Kowalke
ded781420f update parser example using execution_context 2015-03-19 19:52:22 +01:00
Oliver Kowalke
b2af03e76b update examples 2015-03-05 17:26:19 +01:00
Oliver Kowalke
bc3cd0fbed rename jump_to() -> resume() 2015-02-18 18:23:58 +01:00
Oliver Kowalke
447623fc62 some comments to parser example added 2015-01-23 22:19:02 +01:00
Oliver Kowalke
fa078765cb me stack-allocators/some fixes 2015-01-23 22:02:20 +01:00
Oliver Kowalke
d0ab46ad5c use std::call_once + lambda in stack_traits init
- stack_traits uses std::call_once for static initialization
2015-01-15 18:31:45 +01:00
Oliver Kowalke
42f8be9752 remove coroutine examples 2015-01-15 18:31:45 +01:00
Oliver Kowalke
cf2c8f4422 add support for additional control-structures (preallocated) 2015-01-12 20:03:49 +01:00
Oliver Kowalke
fae49e0fc2 allow coroutine-functions with arguments 2015-01-11 11:30:24 +01:00
Oliver Kowalke
a5bc3d313e update examples + execution_context impl 2014-11-28 19:11:59 +01:00
Oliver Kowalke
ba36e3d243 add support for execution_context 2014-11-21 20:21:47 +01:00
Oliver Kowalke
13bdb27d4f add rethrow example 2014-06-09 10:29:31 +02:00
Oliver Kowalke
e0a8c3f49c add new example stacking contexts 2014-03-01 19:30:20 +01:00
Oliver Kowalke
190f7a9563 use std::malloc() in examples 2014-03-01 09:36:46 +01:00
Oliver Kowalke
03f7418656 examples enhanced (SSE) 2014-02-28 19:06:29 +01:00
Oliver Kowalke
ffc63734e8 update , fixes 2014-02-17 17:11:32 +01:00
Oliver Kowalke
676b4e5d79 fcontext_t as typedef of void* 2014-02-16 21:07:50 +01:00
Oliver Kowalke
b42ab834d0 add example for throwing/catching exceptions 2013-12-04 06:37:24 +01:00
Oliver Kowalke
e71743b756 context: fix auto-link inc config.hpp
[SVN r84995]
2013-07-10 06:37:39 +00:00
Oliver Kowalke
d0639cf96d context: replace align_stack() bay assembler
[SVN r81595]
2012-11-27 20:11:33 +00:00
Oliver Kowalke
dbfeda223d context: simple_stack_allocator moved to examples directory, guarded_stack_allocator removed
[SVN r81346]
2012-11-14 17:30:45 +00:00
Oliver Kowalke
5fe939cd06 context: namespace renamed to 'context'; spltting up asm files
[SVN r80529]
2012-09-15 06:31:49 +00:00
Oliver Kowalke
70cd2a52a5 context: fix TABs, pagesize() added in docu
[SVN r80425]
2012-09-06 20:18:23 +00:00
Oliver Kowalke
854c49d321 context: return pointer to fcontext_t
- make_fcontext() allocated fcontext_t on context stack and return pointer
 - stack_allocator renamed to guarded_stack_allocator
 - simple_stack_allocator using calloc()/free() added
 - pagesize() made public accessible


[SVN r80423]
2012-09-06 19:43:07 +00:00
Oliver Kowalke
e32d499ae2 context: new layout for fcontext_t
- fcontext_t takes pointer to stack (lower addresses) and stack size
 - make_fcontext() computes start address of stack pointer depending on
   architecture (growing upwards, downwards)
 - make_fcontext() preserves frame pointer on intel
 - stack alignment corrected on intel
 - BOOST_USE_UCONTEXT for performance measurements added


[SVN r80338]
2012-08-31 19:50:07 +00:00
Oliver Kowalke
2be3bf4d5a context: use size instead of limit if fc_stack
[SVN r79956]
2012-08-10 16:07:25 +00:00
Oliver Kowalke
b5fe010e78 context: tab cleanup
[SVN r78544]
2012-05-22 20:02:04 +00:00
Oliver Kowalke
f84d16bf0c context: example link.cpp removed; example exit.cpp added
[SVN r78151]
2012-04-23 07:23:26 +00:00
Oliver Kowalke
6151f8173d context: remove argument for context function from make_fcontext()
[SVN r78129]
2012-04-22 10:18:43 +00:00
Oliver Kowalke
e6105a5715 context: remove dependency to boost.system and boost.thread in examples/Jamfile
[SVN r78116]
2012-04-21 21:04:16 +00:00
Oliver Kowalke
97d37d559f context: remove start_fcontext; context linking removed
[SVN r78114]
2012-04-21 19:05:03 +00:00
Oliver Kowalke
13b4a5b3bd context: library stripped
[SVN r77938]
2012-04-12 18:42:36 +00:00
Oliver Kowalke
5ecf9bad00 context: refactor unwind example (recursive call)
[SVN r77653]
2012-03-30 18:54:31 +00:00
Oliver Kowalke
d1f145ce7b context: add support for 32bit MacOS X
[SVN r77449]
2012-03-21 07:52:00 +00:00
Oliver Kowalke
95937a481c context: documentation update and check-functions in context public interface
[SVN r77321]
2012-03-13 09:06:35 +00:00
Oliver Kowalke
c9ac398535 t script for pic code added
[SVN r77252]
2012-03-06 22:31:32 +00:00
Oliver Kowalke
8470818290 link examples statically to libboost_context
[SVN r77133]
2012-02-28 18:18:06 +00:00
Oliver Kowalke
b8fd549bac initial commit of boost.context
[SVN r76974]
2012-02-11 13:04:55 +00:00