[webkit-changes] [WebKit/WebKit] 139582: Guard against thread safety issues related to asse...
Per Arne Vollan
noreply at github.com
Mon Feb 5 17:00:18 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 13958226016904e96c50fa14abcb35e708c699c4
https://github.com/WebKit/WebKit/commit/13958226016904e96c50fa14abcb35e708c699c4
Author: Per Arne Vollan <pvollan at 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
More information about the webkit-changes
mailing list