summaryrefslogtreecommitdiffstats
path: root/share/man/man9
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2009-08-23 07:48:11 +0000
committerjulian <julian@FreeBSD.org>2009-08-23 07:48:11 +0000
commitc5b50090c7472d122868429f5aefe13a56246ba0 (patch)
treebcf8fd76987bf9485035450bf4c0acbbd42f59c5 /share/man/man9
parentb263d131b26d77771a3724114da620945064882e (diff)
downloadFreeBSD-src-c5b50090c7472d122868429f5aefe13a56246ba0.zip
FreeBSD-src-c5b50090c7472d122868429f5aefe13a56246ba0.tar.gz
Add claraifications to the kproc and kthread manpages and link
the kthread_create(9) man page to the kproc(9) page as it had migrated and people looking for it may need a hand to find its new name. MFC after: 1 week
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/Makefile1
-rw-r--r--share/man/man9/kproc.922
-rw-r--r--share/man/man9/kthread.921
3 files changed, 44 insertions, 0 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 3148d5e..86b5838 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -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 \
diff --git a/share/man/man9/kproc.9 b/share/man/man9/kproc.9
index 23ce05c..bb56235 100644
--- a/share/man/man9/kproc.9
+++ b/share/man/man9/kproc.9
@@ -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
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9
index 29d678c..ffb5179 100644
--- a/share/man/man9/kthread.9
+++ b/share/man/man9/kthread.9
@@ -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
OpenPOWER on IntegriCloud