mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
73756e9464
This prevents the child process from downgrading its CPU priority when it notices that it has the CPU wake lock but no "critical" frames. In this patch we also reduce the scope of a race condition which occurs when we don't launch a new process for an app. In this case, we still need to set the child process's priority and then check that the process is still alive. Because this isn't a brand-new process, it's possible that the process will downgrade its priority (e.g. due to a timer) after we check that it's still alive and before it notices that we've acquired the CPU wake lock on its behalf. This patch does not resolve that race. |
||
---|---|---|
.. | ||
base | ||
canvas | ||
events | ||
html | ||
mathml | ||
media | ||
smil | ||
svg | ||
test | ||
xbl | ||
xml | ||
xslt | ||
xul | ||
Makefile.in |