[Webkit-unassigned] [Bug 139744] New: Remove custom token mechanism from ProcessThrottler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 17 13:21:13 PST 2014


            Bug ID: 139744
           Summary: Remove custom token mechanism from ProcessThrottler
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: barraclough at apple.com

ProcessThrottler implements its own token-based counter mechanism, but should just use RefCounter.

There is one new feature here. ProcessThrottler used distinct token types for background & foreground activity. It would be a compile error to try to store a background token in the handle for a foreground token, and vice versa. RefCounter doesn't currently provide the facility to distinguish token types in this manner (all tokens are just Ref<RefCounter::Count>). Add a convenient way to easily create distinct token types.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141217/1ae8b18a/attachment-0002.html>

More information about the webkit-unassigned mailing list