Correct descriptions of EINTR and ERESTART errors. Masked signals don't
interrupt sleeps. Rather, unmasked signals interrupt restarts and can either interrupt the system call by having it return EINTR in userland or force the system call to be restarted.
This commit is contained in:
parent
e6b69890ed
commit
f499e49c46
@ -178,9 +178,9 @@ and
|
||||
will fail if:
|
||||
.Bl -tag -width Er
|
||||
.It Bq Er EINTR
|
||||
An unmasked signal was caught.
|
||||
A masked signal was caught and the system call should be restarted.
|
||||
.It Bq Er ERESTART
|
||||
A masked signal was caught.
|
||||
A masked signal was caught and the system call should be interrupted.
|
||||
.El
|
||||
.Pp
|
||||
.Fn cv_timedwait
|
||||
|
Loading…
Reference in New Issue
Block a user