Displaying 2 results from an estimated 2 matches for "__generic_morestack_with_context".
2011 Aug 11
2
[LLVMdev] Segmented Stacks: Breaking libgcc compatibility
...le thread (and switch between them, at will).
My current idea is to port segmented stack related routines to
compiler-rt (or to a different "segmented-stacks" library
altogether). That way, __generic_morestack (the function in libgcc
that allocates space for a new stacklet) gets a cousin
__generic_morestack_with_context, which take a pointer to a "context"
holding the otherwise thread local variables use by libgcc's
__generic_morestack. That way, every coroutine can have its own
"context" which it passes to __generic_morestack_context.
__generic_morestack in compiler-rt can then call __gen...
2011 Aug 12
0
[LLVMdev] Segmented Stacks: Breaking libgcc compatibility
...them, at will).
>
> My current idea is to port segmented stack related routines to
> compiler-rt (or to a different "segmented-stacks" library
> altogether). That way, __generic_morestack (the function in libgcc
> that allocates space for a new stacklet) gets a cousin
> __generic_morestack_with_context, which take a pointer to a "context"
> holding the otherwise thread local variables use by libgcc's
> __generic_morestack. That way, every coroutine can have its own
> "context" which it passes to __generic_morestack_context.
>
> __generic_morestack in compile...