summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/man/pthreads.3
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2004-01-15 23:17:19 +0000
committermarc <marc@openbsd.org>2004-01-15 23:17:19 +0000
commit53ae04834e4ac4cf2fb5bfa4112eee1c0e4c36dc (patch)
tree05555d0ddafaf07e5aee9eb28fb079718a9795fb /lib/libpthread/man/pthreads.3
parentsync (diff)
downloadwireguard-openbsd-53ae04834e4ac4cf2fb5bfa4112eee1c0e4c36dc.tar.xz
wireguard-openbsd-53ae04834e4ac4cf2fb5bfa4112eee1c0e4c36dc.zip
man pages for thread_yield and pthread_stackseg_np
jmc asked for them, now he can make them look pretty
Diffstat (limited to 'lib/libpthread/man/pthreads.3')
-rw-r--r--lib/libpthread/man/pthreads.310
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/libpthread/man/pthreads.3 b/lib/libpthread/man/pthreads.3
index db1011387dd..9061868300a 100644
--- a/lib/libpthread/man/pthreads.3
+++ b/lib/libpthread/man/pthreads.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthreads.3,v 1.22 2004/01/15 11:27:04 jmc Exp $
+.\" $OpenBSD: pthreads.3,v 1.23 2004/01/15 23:17:19 marc Exp $
.\" David Leonard <d@openbsd.org>, 1998. Public domain.
.Dd August 17, 1998
.Dt PTHREADS 3
@@ -171,6 +171,10 @@ Set the name of a thread.
Switch thread scheduling mode.
.It Fn pthread_multi_np
Switch thread scheduling mode.
+.It Fn pthread_stackseg_np
+Return stack size and location.
+.It Fn pthread_yield
+Yield control of the current thread.
.El
.Ss Read/Write Lock Routines
The functions available are as follows:
@@ -513,8 +517,10 @@ environment variable.
.Xr pthread_setspecific 3 ,
.Xr pthread_sigmask 3 ,
.Xr pthread_single_np 3 ,
+.Xr pthread_stackseg_np 3 ,
.Xr pthread_suspend_np 3 ,
-.Xr pthread_testcancel 3
+.Xr pthread_testcancel 3 ,
+.Xr pthread_yield 3
.Sh STANDARDS
The user-level thread library provides functions that
conform to ISO/IEC 9945-1 ANSI/IEEE