Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13958226016904e96c50fa14abcb35e708c699c4
      
https://github.com/WebKit/WebKit/commit/13958226016904e96c50fa14abcb35e708c699c4
  Author: Per Arne Vollan <pvol...@apple.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm
    M Source/WebKit/UIProcess/ProcessAssertion.h

  Log Message:
  -----------
  Guard against thread safety issues related to assertions
https://bugs.webkit.org/show_bug.cgi?id=268758
rdar://122321271

Reviewed by Chris Dumez.

Guard against thread safety issues related to assertions, since they are 
usually acquired on a non-main thread.

* Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm:
(WebKit::ProcessAssertion::acquireSync):
(WebKit::ProcessAssertion::~ProcessAssertion):
* Source/WebKit/UIProcess/ProcessAssertion.h:

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to