mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 1462784 - Annotate idle stacks in the native event loop on Windows. r=froydnj
MozReview-Commit-ID: A0c3ZLLkLUC --HG-- extra : rebase_source : 9e6c0c0f2fad67fa60f06dbea38b66e3b2ebea6e
This commit is contained in:
parent
81465bc0d6
commit
358ae08897
@ -540,6 +540,7 @@ nsAppShell::ProcessNextNativeEvent(bool mayWait)
|
||||
// Block and wait for any posted application message
|
||||
mozilla::HangMonitor::Suspend();
|
||||
{
|
||||
AUTO_PROFILER_LABEL("nsAppShell::ProcessNextNativeEvent::Wait", IDLE);
|
||||
AUTO_PROFILER_THREAD_SLEEP;
|
||||
WinUtils::WaitForMessage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user