Bug 126197

Summary: Place code that initializes threading behind a runtime check
Product: WebKit Reporter: Andy Estes <aestes>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.