Bug 244153

Summary: [WTF] Ensure isMainThread() semantics are the same across all platforms
Product: WebKit Reporter: James Hilliard <james.hilliard1>
Component: Web Template FrameworkAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: fujii.hironori, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=243401

James Hilliard
Reported 2022-08-20 00:38:09 PDT
It was determined in https://bugs.webkit.org/show_bug.cgi?id=243401 that isMainThread() can not simply check if the current thread is the initial process thread but must compare the current thread against the thread set when initializeMainThreadPlatform is called to handle cases when WebKit is run under applications like Eclipse which don't initialize WebKit in the main process thread.
Attachments
James Hilliard
Comment 1 2022-08-20 00:40:46 PDT
EWS
Comment 2 2022-08-22 09:10:31 PDT
Committed 253647@main (799dd04c3edb): <https://commits.webkit.org/253647@main> Reviewed commits have been landed. Closing PR #3497 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-08-22 09:11:16 PDT
Note You need to log in before you can comment on or make changes to this bug.