Replace EINTR with ERESTART in posix_sigqueue.
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ pub fn posix_sigqueue(pid: usize, sig: usize, arg: usize) -> Result<()> {
|
||||
}) {
|
||||
Ok(_)
|
||||
| Err(Error {
|
||||
errno: error::EINTR,
|
||||
errno: error::ERESTART,
|
||||
}) => Ok(()),
|
||||
Err(error) => Err(error),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user