Bug 244153 - [WTF] Ensure isMainThread() semantics are the same across all platforms
Summary: [WTF] Ensure isMainThread() semantics are the same across all platforms
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-20 00:38 PDT by James Hilliard
Modified: 2022-08-22 09:11 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>