Re-examining SetThreadContext

Mike Hearn mh at
Mon Feb 7 11:16:48 CST 2005

Alexandre Julliard wrote:
> Well, you'll be surprised. In the general case the results may well be
> unpredictable but there are lots of cases where they are perfectly
> predictable, and some apps do rely on that.

Ick. OK, how about implementing them using a SuspendThread call, so we 
can use SIGUSR1 for both? Would suspending the thread, altering the 
context, then resuming it in a blocking fashion give close enough 
behaviour to what the apps expect?

thanks -mike

More information about the wine-devel mailing list