diff options
author | joerg <joerg@FreeBSD.org> | 2004-09-24 19:58:47 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2004-09-24 19:58:47 +0000 |
commit | a4ba66f4dfcfc360b6a31e370c5d4c6735a9275c (patch) | |
tree | 95f2547b2e4b7230a52861f37d6924527ecf98eb /share | |
parent | bd20f820eed84d93e9324f7de3865ce58a0c7731 (diff) | |
download | FreeBSD-src-a4ba66f4dfcfc360b6a31e370c5d4c6735a9275c.zip FreeBSD-src-a4ba66f4dfcfc360b6a31e370c5d4c6735a9275c.tar.gz |
Document that kthread_exit()ing will cause a wakeup(9) on the thread
handle.
MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/kthread.9 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index 7006b33..69311c6 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 24, 2000 +.Dd September 24, 2004 .Dt KTHREAD 9 .Os .Sh NAME @@ -141,6 +141,11 @@ letting the main function return to its caller. The .Fa ecode argument specifies the exit status of the thread. +While exiting, the function +.Xr exit1 9 +will initiate a call to +.Xr wakeup 9 +on the thread handle. .Pp The .Fn kthread_resume , @@ -258,8 +263,10 @@ flag was specified in the parameter. .El .Sh SEE ALSO +.Xr exit1 9 , .Xr rfork 2 , -.Xr SYSINIT 9 +.Xr SYSINIT 9 , +.Xr wakeup 9 .Sh HISTORY The .Fn kproc_start |