summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-03-09 17:52:10 +0000
committerjhb <jhb@FreeBSD.org>2007-03-09 17:52:10 +0000
commitdfba370731e90a76246216f845eee5e1255e27e8 (patch)
tree804bc796cee0fb219ce9ac600fc460f1bdf947f7
parent0090f876632dab1384a595e9bb4d6b2cca1ef035 (diff)
downloadFreeBSD-src-dfba370731e90a76246216f845eee5e1255e27e8.zip
FreeBSD-src-dfba370731e90a76246216f845eee5e1255e27e8.tar.gz
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.
-rw-r--r--share/man/man9/condvar.94
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9
index 97d3134..88b01f4 100644
--- a/share/man/man9/condvar.9
+++ b/share/man/man9/condvar.9
@@ -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
OpenPOWER on IntegriCloud