Russ Cox wrote:
If the OS does not provide a working makecontext, getcontext, and setcontext, then you need to write those too. They needn't follow any structures laid down by the rest of the system. They just have to match each other. For example, power-ucontext.h is just made up from scratch. It just needs to be a register set and match the assembly.
Also, I did not realize this when I did armv, but you needn't worry about saving/restoring the signal mask. That really makes like easy -- no syscall needed.
ron
