Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07cee55ea03c872b72d82ca0c736cf298d602cf6
      
https://github.com/WebKit/WebKit/commit/07cee55ea03c872b72d82ca0c736cf298d602cf6
  Author: Chris Dumez <[email protected]>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M Source/WTF/wtf/Lock.h
    M Source/WebKit/Platform/IPC/Connection.cpp
    M Source/WebKit/Platform/IPC/Connection.h

  Log Message:
  -----------
  Potential UI hang under IPC::Connection::dispatchIncomingMessages()
https://bugs.webkit.org/show_bug.cgi?id=276900
rdar://132123087

Reviewed by Brady Eidson.

Use an UnfairLock for IPC::Connection::m_incomingMessagesLock instead
of a WTF::Lock to get priority inheritance.

* Source/WTF/wtf/Lock.h:
(WTF::WTF_ASSERTS_ACQUIRED_LOCK):
* Source/WebKit/Platform/IPC/Connection.cpp:
(IPC::Connection::SyncMessageState::processIncomingMessage):
(IPC::Connection::enqueueIncomingMessage):
(IPC::Connection::dispatcher):
* Source/WebKit/Platform/IPC/Connection.h:

Canonical link: https://commits.webkit.org/281223@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to