Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2009 07:13:07 +0000 (UTC)
From:      Julian Elischer <julian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r196815 - stable/8/share/man/man9
Message-ID:  <200909040713.n847D7if057561@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: julian
Date: Fri Sep  4 07:13:07 2009
New Revision: 196815
URL: http://svn.freebsd.org/changeset/base/196815

Log:
  MFC r196450
  
     Add clarifications to the kproc and kthread manpages and link
     the kthread_create(9) man page to the kproc(9) page as it has migrated and
     people looking for it may need a hand to find its new name.
  
  Approved by:	re (kib)

Modified:
  stable/8/share/man/man9/   (props changed)
  stable/8/share/man/man9/Makefile
  stable/8/share/man/man9/kproc.9
  stable/8/share/man/man9/kthread.9

Modified: stable/8/share/man/man9/Makefile
==============================================================================
--- stable/8/share/man/man9/Makefile	Fri Sep  4 06:26:40 2009	(r196814)
+++ stable/8/share/man/man9/Makefile	Fri Sep  4 07:13:07 2009	(r196815)
@@ -713,6 +713,7 @@ MLINKS+=kobj.9 DEFINE_CLASS.9 \
 	kobj.9 kobj_delete.9 \
 	kobj.9 kobj_init.9
 MLINKS+=kproc.9 kproc_create.9 \
+	kproc.9 kthread_create.9 \
 	kproc.9 kproc_exit.9 \
 	kproc.9 kproc_resume.9 \
 	kproc.9 kproc_shutdown.9 \

Modified: stable/8/share/man/man9/kproc.9
==============================================================================
--- stable/8/share/man/man9/kproc.9	Fri Sep  4 06:26:40 2009	(r196814)
+++ stable/8/share/man/man9/kproc.9	Fri Sep  4 07:13:07 2009	(r196815)
@@ -64,6 +64,28 @@
 .Fa "int flags" "int pages" "char * procname" "const char *fmt" "..."
 .Fc
 .Sh DESCRIPTION
+In
+.Fx 8.0 ,
+the
+.Fn kthread* 9
+family of functions was renamed to be the
+.Fn kproc* 9
+family of functions, as they were misnamed
+and actually produced kernel processes.
+A new family of
+.Em different
+.Fn kthread_* 9
+functions was added to produce
+.Em real
+kernel 
+.Em threads . 
+See the
+.Xr kthread 9
+man page for more information on those calls.
+Also note that the
+.Fn kproc_kthread_add 9
+function appears in both pages as its functionality is split.
+.Pp
 The function
 .Fn kproc_start
 is used to start

Modified: stable/8/share/man/man9/kthread.9
==============================================================================
--- stable/8/share/man/man9/kthread.9	Fri Sep  4 06:26:40 2009	(r196814)
+++ stable/8/share/man/man9/kthread.9	Fri Sep  4 07:13:07 2009	(r196815)
@@ -65,6 +65,27 @@
 .Fa "int flags" "int pages" "char * procname" "const char *fmt" "..."
 .Fc
 .Sh DESCRIPTION
+In
+.Fx 8.0 ,
+the older family of
+.Fn kthread_* 9
+functions was renamed to be the
+.Fn  kproc_* 9
+family of functions,
+as they were previously misnamed
+and actually produced kernel processes.
+This new family of
+.Fn kthread_* 9
+functions was added to produce
+.Em real
+kernel threads.
+See the
+.Xr kproc 9
+man page for more information on the renamed calls.
+Also note that the 
+.Fn kproc_kthread_add 9
+function appears in both pages as its functionality is split.
+.Pp
 The function
 .Fn kthread_start
 is used to start



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