Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7ff01e452a8ce4b9e086eeb48a3d8843b0ebb3a1
https://github.com/WebKit/WebKit/commit/7ff01e452a8ce4b9e086eeb48a3d8843b0ebb3a1
Author: Kimmo Kinnunen <[email protected]>
Date: 2022-09-26 (Mon, 26 Sep 2022)
Changed paths:
M Source/WTF/wtf/RunLoop.h
M Tools/TestWebKitAPI/Tests/WTF/RunLoop.cpp
Log Message:
-----------
Thread safety analysis can not use assertion that a RunLoop is current
https://bugs.webkit.org/show_bug.cgi?id=245565
rdar://problem/100313515
Reviewed by Antti Koivisto.
Make it possible to assert that a run loop is current by using
assertIsCurrent(m_runLoop);
This enables thread safety analysis to enforce that a particular access is
allowed
only on a particular run loop.
* Source/WTF/wtf/RunLoop.h:
(WTF::WTF_ASSERTS_ACQUIRED_CAPABILITY):
* Tools/TestWebKitAPI/Tests/WTF/RunLoop.cpp:
(TestWebKitAPI::TEST):
Canonical link: https://commits.webkit.org/254856@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes