[Webkit-unassigned] [Bug 90584] New: Add DispatchQueue class.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 4 21:33:30 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90584

           Summary: Add DispatchQueue class.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: skyul at company100.net


DispatchQueue is a simple C++ wrapper around libdispatch (GCD). A thread pool based fallback implementation is also avaiable. So ports without libdispatch can use the same API.

It provides only the small subset of the original libdispatch API. There are three types of DispatchQueue: serial, global and main. These queues correspond to the serial, concurrent global and main queue in libdispatch.

DispatchQueue::async(const Function<void()>&) method is used to schedule a task regardless of the queue type.

Currently, it is used by parallel image decoders to perform image decoding concurrently.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list