https://bugs.winehq.org/show_bug.cgi?id=45546
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #28 from Jacek Caban jacek@codeweavers.com --- This should behave much better with current Wine. The last related commit is: https://source.winehq.org/git/wine.git/commitdiff/c4dab9b76eb7397f6e5325ff4b...
We use proper wait instead of polling when getting the context now. Other related changes made handling SIGUSR1 signal much cheaper (in most cases, threads do 1 instead of 3 server calls on suspend) and avoid signals in some cases.
The timeout is still the same, but with much lower suspend overhead it will hopefully be enough. Potential further improvement would be to avoid sending SIGUSR1 to threads that are waiting for other reasons anyway.
There is not much we can do in cases where signals are blocked by external code.