[Webkit-unassigned] [Bug 101135] New: [EFL] Remove redundant wakeUp() call to prevent pipe buffer full.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 2 17:41:11 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=101135
Summary: [EFL] Remove redundant wakeUp() call to prevent pipe
buffer full.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit EFL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bw80.lee at samsung.com
CC: demarchi at webkit.org
EFL uses ecore_pipe_write() to wake up main run loop,
and the function uses pipe write with O_NONBLOCK disabled.
With O_NONBLOCK disabled, when written data is more than PIPE_BUF,
pipe write will block until it can be written. (according to the pipe() man page)
Currently, wakeUp() always write pipe to wake up.
But if wake up is already requested and not did, additional pipe write is not needed.
This redundant pipe write makes pipe buffer full status.
--
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