Bug 127251 - Convert LoaderRunLoopCF.cpp and WebCoreThreadRun.cpp over to modern threading primitives
Summary: Convert LoaderRunLoopCF.cpp and WebCoreThreadRun.cpp over to modern threading...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-19 10:27 PST by Anders Carlsson
Modified: 2014-01-19 10:37 PST (History)
0 users

See Also:


Attachments
Patch (6.80 KB, patch)
2014-01-19 10:30 PST, Anders Carlsson
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anders Carlsson 2014-01-19 10:27:54 PST
Convert LoaderRunLoopCF.cpp and WebCoreThreadRun.cpp over to modern threading primitives
Comment 1 Anders Carlsson 2014-01-19 10:30:06 PST
Created attachment 221588 [details]
Patch
Comment 2 Antti Koivisto 2014-01-19 10:35:58 PST
Comment on attachment 221588 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=221588&action=review

> Source/WebCore/platform/ios/wak/WebCoreThreadRun.cpp:116
> +static std::mutex* runQueueMutex = nullptr;
> +static CFRunLoopSourceRef runSource = nullptr;
> +static WebThreadRunQueue* runQueue = nullptr;
>  

Don't need to initialise globals to null.
Comment 3 Anders Carlsson 2014-01-19 10:37:41 PST
Committed r162292: <http://trac.webkit.org/changeset/162292>