Bug 126197 - Place code that initializes threading behind a runtime check
Summary: Place code that initializes threading behind a runtime check
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-23 17:52 PST by Andy Estes
Modified: 2014-01-02 11:03 PST (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 Andy Estes 2013-12-23 17:52:42 PST
There are various places in WebKit with the following stanza:

    JSC::initializeThreading();
    WTF::initializeMainThreadToProcessMainThread();
    RunLoop::initializeMainRunLoop();

These lines need to be excluded in the iOS port due to the web thread. We should create a runtime check for this rather than a compile-time one.