diff options
author | jhb <jhb@FreeBSD.org> | 2001-03-09 03:09:30 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-03-09 03:09:30 +0000 |
commit | 4664d7c8ccd74042df38536c46dd83824aefe766 (patch) | |
tree | 0fe1b81be6ddd18e1608ce966cd19e1a957d9748 /share/man/man9/kthread.9 | |
parent | 3d99a7c133dde48b80092e04e9012ded7a98890f (diff) | |
download | FreeBSD-src-4664d7c8ccd74042df38536c46dd83824aefe766.zip FreeBSD-src-4664d7c8ccd74042df38536c46dd83824aefe766.tar.gz |
- 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.
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 efdeee0..fd9054a 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. |