Bug 153703
| Summary: | Make non-restartable system calls EINTR aware | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
| Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> |
| Status: | NEW | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Yusuke Suzuki
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. |