Commit Graph

121 Commits

Author SHA1 Message Date
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
cf2c8f4422 add support for additional control-structures (preallocated) 2015-01-12 20:03:49 +01:00
Oliver Kowalke
5c2c78a702 add example for stacked contexts 2014-03-01 22:37:22 +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
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
e80f47e60e context: add test for stack size (min, max, default)
[SVN r80537]
2012-09-16 09:29:13 +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
6d5c769154 context: fixing invalid fcontext_t struct on i386; test stacksizes
[SVN r80504]
2012-09-12 11:36:48 +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
daf017cb4c context: refactoring stack_allocator (Windows stack sizes etc.)
[SVN r80375]
2012-09-03 17:06:56 +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
f60965dc6b context: fixing warnings on Windows platform
[SVN r78958]
2012-06-15 18:27:09 +00:00
Oliver Kowalke
b5fe010e78 context: tab cleanup
[SVN r78544]
2012-05-22 20:02:04 +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
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
95937a481c context: documentation update and check-functions in context public interface
[SVN r77321]
2012-03-13 09:06:35 +00:00
Oliver Kowalke
b8fd549bac initial commit of boost.context
[SVN r76974]
2012-02-11 13:04:55 +00:00