On Wed, Aug 22, 2012 at 05:00:50PM +0000, Emmanuel Dreyfus wrote: > but that seems a bad choice: after unsetting _UC_TLSBASE it needs > to call the real setcontext, which means doing a system call from > libpthread. That looks wrong. Why do you think this would be wrong? Martin