gecko-dev/ipc
Gerald Squelart 22a7a23613 Bug 1530419 - Move PROFILER_AUTO_THREAD_SLEEP into WinUtils::WaitForMessage from callers - r=mstange
Both `nsAppShell::ProcessNextNativeEvent()` and `MessagePumpForUI::WaitForWork()` have a `PROFILER_AUTO_THREAD_SLEEP` surrounding the `mozilla::widget::WinUtils::WaitForMessage()` call.
However inside `WaitForMessage()` the call to `PeekMessageW()` may trigger a sequence of events (because the system delivers pending messages) that end in the initialization of a new thread, which invokes `ReentrantMonitor::Wait()` where there is a `PROFILER_AUTO_THREAD_SLEEP`.

To avoid this recursion, this patch moves `PROFILER_AUTO_THREAD_SLEEP` from both callers into `WaitForMessage()` to only enclose the actual potentially-sleeping operation `::MsgWaitForMultipleObjectsEx()`.

Differential Revision: https://phabricator.services.mozilla.com/D72850
2020-04-28 16:22:13 +00:00
..
app Bug 1578917: Force macOS Aqua appearance on for content processes, crash reporter and updater. r=mstange 2020-04-24 18:37:57 +00:00
chromium Bug 1530419 - Move PROFILER_AUTO_THREAD_SLEEP into WinUtils::WaitForMessage from callers - r=mstange 2020-04-28 16:22:13 +00:00
contentproc
glue Bug 1628715 - Part 7: Add MOZ_NONNULL_RETURN to infallible nsTArray::AppendElements. r=xpcom-reviewers,necko-reviewers,nika,valentin 2020-04-24 13:31:14 +00:00
gtest Bug 1550900 - Support "frozen" shared memory where the parent process retains write access. r=froydnj 2020-03-20 16:23:59 +00:00
ipdl Bug 1512478 - Use sync IPC to get client auth data from parent process r=keeler,mccr8 2020-04-28 20:12:43 +00:00
mscom Bug 1633650: mscom::Interceptor: Don't call HandlerProvider::GetPayloadSize for external process callers. r=aklotz 2020-04-28 16:21:58 +00:00
testshell Bug 1626105 - Convert |JS::Compile| for UTF-8 to |JS::CompileDontInflate| semantics, and remove |JS::CompileDontInflate|. r=evilpie 2020-03-31 01:30:05 +00:00
moz.build
pull-chromium.py