[Webkit-unassigned] [Bug 153703] New: Make non-restartable system calls EINTR aware

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 30 03:56:25 PST 2016


            Bug ID: 153703
           Summary: Make non-restartable system calls EINTR aware
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: utatane.tea at gmail.com

In some places, we just calls `usleep` / `sleep` without chekcing EINTR.
This sleeps will be interrupted if the signal comes.

We should use nanosleep(req, remaining) and if interrupted by signal, we should reexecute it with remaining.

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/20160130/24ff8087/attachment.html>

More information about the webkit-unassigned mailing list