]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
thr_*(2): Add xrefs to what libthr implements using each syscall.
authorjilles <jilles@FreeBSD.org>
Wed, 1 Jun 2016 21:58:13 +0000 (21:58 +0000)
committerjilles <jilles@FreeBSD.org>
Wed, 1 Jun 2016 21:58:13 +0000 (21:58 +0000)
commit534c9c78f3e1ea966e0301afe836cf70c7c61e3b
treea366562c494a22bd76b1f55c58571c6859e89f94
parentf402b7a826a4f12953487b45e0de71ce57280dbe
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.
lib/libc/sys/thr_exit.2
lib/libc/sys/thr_kill.2
lib/libc/sys/thr_new.2
lib/libc/sys/thr_self.2
lib/libc/sys/thr_set_name.2