Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2011 23:26:14 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r218385 - head/lib/libc/gen
Message-ID:  <201102062326.p16NQEc3084786@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Sun Feb  6 23:26:14 2011
New Revision: 218385
URL: http://svn.freebsd.org/changeset/base/218385

Log:
  rfork_thread(3): Mark deprecated in favor of pthread_create(3).

Modified:
  head/lib/libc/gen/rfork_thread.3

Modified: head/lib/libc/gen/rfork_thread.3
==============================================================================
--- head/lib/libc/gen/rfork_thread.3	Sun Feb  6 22:46:07 2011	(r218384)
+++ head/lib/libc/gen/rfork_thread.3	Sun Feb  6 23:26:14 2011	(r218385)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 29, 2000
+.Dd February 6, 2011
 .Dt RFORK_THREAD 3
 .Os
 .Sh NAME
@@ -38,6 +38,13 @@
 .Ft pid_t
 .Fn rfork_thread "int flags" "void *stack" "int (*func)(void *arg)" "void *arg"
 .Sh DESCRIPTION
+.Bf -symbolic
+The
+.Fn rfork_thread
+function has been deprecated in favor of
+.Xr pthread_create 3 .
+.Ef
+.Pp
 The
 .Fn rfork_thread
 function
@@ -71,7 +78,8 @@ for error return codes.
 .Xr intro 2 ,
 .Xr minherit 2 ,
 .Xr rfork 2 ,
-.Xr vfork 2
+.Xr vfork 2 ,
+.Xr pthread_create 3
 .Sh HISTORY
 The
 .Fn rfork_thread



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102062326.p16NQEc3084786>