]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rfork(2): Discourage rfork_thread-like approaches.
authorjilles <jilles@FreeBSD.org>
Tue, 15 Mar 2011 23:51:47 +0000 (23:51 +0000)
committerjilles <jilles@FreeBSD.org>
Tue, 15 Mar 2011 23:51:47 +0000 (23:51 +0000)
commitb7fd4888f8cb07f6287b3949aff05595f6084a41
tree67e42a66a29438a1d761d096060a31bd0d4da944
parent2a22eeb6a28bb219e787817ae7115613920e719a
rfork(2): Discourage rfork_thread-like approaches.

Calling rfork_thread(3) does not interoperate with pthreads and global state
is not properly protected.

Remove the BUGS section suggesting LinuxThreads entirely. With the current
pthread library libthr, all threads are kernel-level entities so there seems
little reason to use LinuxThreads.
lib/libc/sys/rfork.2