Can anyone tell me what ucontext(2) and related functions can be used for? Reading man pages it seems to suggest that you can get and set threads context. Would this be similar to creating a new thread with pthread_create()?