diff options
author | Benno Rice <benno@FreeBSD.org> | 2002-10-19 01:39:44 +0000 |
---|---|---|
committer | Benno Rice <benno@FreeBSD.org> | 2002-10-19 01:39:44 +0000 |
commit | 6771685b7a489d24c1eb4aa46162de73dd37afbc (patch) | |
tree | 53dccf6a2c3b809628368087453ddb5b954cd36c /share/man/man9 | |
parent | 789a449d14276717df82b3d6615c9a7ca4824d3e (diff) | |
download | src-6771685b7a489d24c1eb4aa46162de73dd37afbc.tar.gz src-6771685b7a489d24c1eb4aa46162de73dd37afbc.zip |
Update the documentation for kthread_create to include the pages argument.
Reviewed by: sheldonh
Forgotten by: scottl
Notes
Notes:
svn path=/head/; revision=105428
Diffstat (limited to 'share/man/man9')
-rw-r--r-- | share/man/man9/kthread.9 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9 index 150efed0b69a..7006b33a6724 100644 --- a/share/man/man9/kthread.9 +++ b/share/man/man9/kthread.9 @@ -44,7 +44,7 @@ .Ft void .Fn kproc_shutdown "void *arg" "int howto" .Ft int -.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp" "int flags" "const char *fmt" "..." +.Fn kthread_create "void (*func)(void *)" "void *arg" "struct proc **newpp" "int flags" "int pages" "const char *fmt" "..." .Ft void .Fn kthread_exit "int ecode" .Ft int @@ -121,6 +121,10 @@ The .Fa flags argument specifies a set of flags as described in .Xr rfork 2 . +The +.Fa pages +argument specifies the size of the new kernel thread's stack in pages. +If 0 is used, the default kernel stack size is allocated. The rest of the arguments form a .Xr printf 9 argument list that is used to build the name of the new thread and is stored |