Re: Patch RFA: Add context switching splitstack routines

2011-11-09 Thread Ian Lance Taylor
Ian Lance Taylor i...@google.com writes: libgcc/ChangeLog: 2011-11-07 Ian Lance Taylor i...@google.com * generic-morestack.c: Include string.h. (uintptr_type): Define. (struct initial_sp): Add dont_block_signals field. Reduce size of extra array by 1.

Patch RFA: Add context switching splitstack routines

2011-11-07 Thread Ian Lance Taylor
This patch adds some support for context switching to the -fsplit-stack support routines in libgcc. I intend to use this in the Go library to support multiplexing multiple goroutines onto a single pthread. They work similarly to getcontext/setcontext/makecontext. This patch also adds control