[Webkit-unassigned] [Bug 159346] New: [GLib] Use a GSource instead of a thread to poll memory pressure eventFD in linux implementation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 1 05:25:54 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159346
Bug ID: 159346
Summary: [GLib] Use a GSource instead of a thread to poll
memory pressure eventFD in linux implementation
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P2
Component: Platform
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cgarcia at igalia.com
CC: bugs-noreply at webkitgtk.org, clopez at igalia.com,
tonikitoo at webkit.org, zan at falconsigh.net
The eventFD file descriptor is pollable, so it would be much better to use a poll instead of a blocking read in a secondary thread and then communicate back to the main thread. This is very easy to do with GSource in GLib, so we could use that when GLib is available and keep the current implementation as a fallback.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160701/8e53b1ba/attachment.html>
More information about the webkit-unassigned
mailing list