summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/thr_set_name.2
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2016-06-01 21:58:13 +0000
committerjilles <jilles@FreeBSD.org>2016-06-01 21:58:13 +0000
commit534c9c78f3e1ea966e0301afe836cf70c7c61e3b (patch)
treea366562c494a22bd76b1f55c58571c6859e89f94 /lib/libc/sys/thr_set_name.2
parentf402b7a826a4f12953487b45e0de71ce57280dbe (diff)
downloadFreeBSD-src-534c9c78f3e1ea966e0301afe836cf70c7c61e3b.zip
FreeBSD-src-534c9c78f3e1ea966e0301afe836cf70c7c61e3b.tar.gz
thr_*(2): Add xrefs to what libthr implements using each syscall.
Add text to thr_exit(2) and thr_new(2) discouraging their use in applications since calling these in a process with libthr loaded will confuse libthr and is likely to cause hangs or crashes. The thr_kill2(2) call is not used by libthr and may be useful in special applications. The other calls can be used in applications but it should not be necessary.
Diffstat (limited to 'lib/libc/sys/thr_set_name.2')
-rw-r--r--lib/libc/sys/thr_set_name.23
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/sys/thr_set_name.2 b/lib/libc/sys/thr_set_name.2
index 5478d13..d2549e4 100644
--- a/lib/libc/sys/thr_set_name.2
+++ b/lib/libc/sys/thr_set_name.2
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 5, 2016
+.Dd June 1, 2016
.Dt THR_SET_NAME 2
.Os
.Sh NAME
@@ -87,6 +87,7 @@ does not exist in the current process.
.Xr thr_new 2 ,
.Xr thr_self 2 ,
.Xr _umtx_op 2 ,
+.Xr pthread_set_name_np 3 ,
.Xr ddb 4 ,
.Xr ktr 9
.Sh STANDARDS
OpenPOWER on IntegriCloud