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
0090f87663
commit
dfba370731
@ -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