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: Hironori.Fujii, 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

Description James Hilliard 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.
Comment 1 James Hilliard 2022-08-20 00:40:46 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3497
Comment 2 EWS 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.
Comment 3 Radar WebKit Bug Importer 2022-08-22 09:11:16 PDT
<rdar://problem/98984273>