WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
153703
Make non-restartable system calls EINTR aware
https://bugs.webkit.org/show_bug.cgi?id=153703
Summary
Make non-restartable system calls EINTR aware
Yusuke Suzuki
Reported
2016-01-30 03:56:25 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug