[Webkit-unassigned] [Bug 203873] New: WTF::RunLoop should not depend on isMainThread() idiom.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 5 17:49:02 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=203873
Bug ID: 203873
Summary: WTF::RunLoop should not depend on isMainThread()
idiom.
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
The isMainThread() idiom is only meaningful for WebCore. It is less meaningful for JSC since a VM instance can be entered from multiple threads, as long as only one thread enters it at any time. Hence, the concept of a main thread doesn't make sense at the JSC level.
Since r251036, we started using a WTF::String to represent the RunLoop mode. This caused problems for JSC clients when USE(CF) since it necessitated the use of StringWrapperCFAllocator to track the life cycle of the CFStringRef generated from the WTF::String.
To fix this problem, we should restore the original behavior of using CFStringRefs as the RunLoop mode token.
<rdar://problem/56524251>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191106/b7de841e/attachment.htm>
More information about the webkit-unassigned
mailing list