diff options
author | John Baldwin <jhb@FreeBSD.org> | 2001-03-09 03:09:30 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2001-03-09 03:09:30 +0000 |
commit | 29ef536da37ba252816f666548b16e575ef3d55d (patch) | |
tree | 5688d784a1c13c86fc09b6c8e6554fa996d4f3e4 /share/man/man9/kthread.9 | |
parent | 3ddf9cce5225368d0c47cdfb7f20a9787e3e9a0d (diff) | |
download | src-29ef536da37ba252816f666548b16e575ef3d55d.tar.gz src-29ef536da37ba252816f666548b16e575ef3d55d.zip |
- Add 2001 to copyright.
- Kthread functions return an error status, they don't set errno to an
error status.
- Remove the BUGS section as all the bugs listed have been fixed now.
Notes
Notes:
svn path=/head/; revision=74009
Diffstat (limited to 'share/man/man9/kthread.9')
-rw-r--r-- | share/man/man9/kthread.9 | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index efdeee09e1fb..fd9054a3766d 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2000 +.\" Copyright (c) 2000-2001 .\" The Regents of the University of California. All rights reserved. .\" .\" All rights reserved. @@ -185,9 +185,6 @@ The and .Fn kthread_suspend functions return zero on success and non-zero on failure. -Upon failure, the global variable -.Va errno -is set to indicate the error. .Sh EXAMPLES This example demonstrates the use of a .Li struct kproc_desc @@ -290,22 +287,3 @@ functions were named and .Fn kproc_suspend_loop , respectively. -.Sh BUGS -If a kernel thread exits its main function (specified as the -.Fa func -argument to -.Fn kthread_create -or in the -.Li struct kproc_desc -passed to -.Fn kpoc_start ) -then it will attempt to return backwards through the -.Fn fork1 -trampoline code with unpredictable results. -The code should instead use a trampoline function to launch -.Fa func -and call -.Fn kthread_exit -if -.Fa func -returns. |