Bug 20349 - WTF::initializeThreading() fails if threading is already initialized
Summary: WTF::initializeThreading() fails if threading is already initialized
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2008-08-11 15:47 PDT by Alp Toker
Modified: 2008-08-13 13:01 PDT (History)
0 users

See Also:


Attachments
Fix initialization logic (1.58 KB, patch)
2008-08-11 15:50 PDT, Alp Toker
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alp Toker 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.
Comment 1 Alp Toker 2008-08-11 15:50:10 PDT
Created attachment 22734 [details]
Fix initialization logic
Comment 2 Eric Seidel (no email) 2008-08-12 17:05:20 PDT
Comment on attachment 22734 [details]
Fix initialization logic

Looks good.
Comment 3 Jan Alonzo 2008-08-13 13:01:20 PDT
landed in r35726