Bug 20349

Summary: WTF::initializeThreading() fails if threading is already initialized
Product: WebKit Reporter: Alp Toker <alp>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Gtk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Fix initialization logic eric: review+

Alp Toker
Reported 2008-08-11 15:47:34 PDT
If g_thread_init() is called by the application developer before WTF::initializeThreading(), some of the necessary JavaScriptCore threading initialization is skipped. Fix attached.
Attachments
Fix initialization logic (1.58 KB, patch)
2008-08-11 15:50 PDT, Alp Toker
eric: review+
Alp Toker
Comment 1 2008-08-11 15:50:10 PDT
Created attachment 22734 [details] Fix initialization logic
Eric Seidel (no email)
Comment 2 2008-08-12 17:05:20 PDT
Comment on attachment 22734 [details] Fix initialization logic Looks good.
Jan Alonzo
Comment 3 2008-08-13 13:01:20 PDT
landed in r35726
Note You need to log in before you can comment on or make changes to this bug.