Mike Hearn mh@codeweavers.com writes:
Dealing with the set/thread context operations in SIGUSR1 makes sense because they are only allowed when the target thread is suspended.
What makes you think that? There is no such restriction in the API, you can get/set the context without suspending the thread. The obvious use case is a thread setting its own context.