RESOLVED FIXED 237026
WTF::ThreadAssertion is not useful as most of the code is run with a WorkQueue
https://bugs.webkit.org/show_bug.cgi?id=237026
Summary WTF::ThreadAssertion is not useful as most of the code is run with a WorkQueue
Kimmo Kinnunen
Reported 2022-02-22 01:40:28 PST
WTF::ThreadAssertion is not useful as most of the code is run with a WorkQueue ThreadAssertion cannot be used with WorkQueues because a WorkQueue might run its runnables in multiple different threads. On Cocoa this happens via thread of a thread pool for Dispatch dispatch queue. We should have an assertion that can assert that the object is manipulated in the expected sequence, where sequence means either work queue or thread.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-03-01 01:41:15 PST
Kimmo Kinnunen
Comment 2 2022-10-04 03:32:45 PDT
Kimmo Kinnunen
Comment 3 2022-10-05 02:19:15 PDT
EWS
Comment 4 2022-10-07 09:26:17 PDT
Committed 255274@main (8ed46d3dd638): <https://commits.webkit.org/255274@main> Reviewed commits have been landed. Closing PR #5020 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.