diff options
| author | Ben Smithurst <ben@FreeBSD.org> | 2001-01-31 12:17:45 +0000 |
|---|---|---|
| committer | Ben Smithurst <ben@FreeBSD.org> | 2001-01-31 12:17:45 +0000 |
| commit | d13241e14602f7afcdaa32cb45cf2862341ee6e5 (patch) | |
| tree | 14b8d14db0f9de017cf85fe7960206edb7f980ff /share/man/man9/timeout.9 | |
| parent | 3c36aab606fb424319a3416d2c404288c9cec4fa (diff) | |
Notes
Diffstat (limited to 'share/man/man9/timeout.9')
| -rw-r--r-- | share/man/man9/timeout.9 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9 index 2040fe33e8fe..58581bea89e9 100644 --- a/share/man/man9/timeout.9 +++ b/share/man/man9/timeout.9 @@ -65,7 +65,7 @@ struct callout_handle handle = CALLOUT_HANDLE_INITIALIZER(&handle) .Ft void .Fn untimeout "timeout_t *func" "void *arg" "struct callout_handle handle" .Ft void -.Fn callout_init "struct callout *c" +.Fn callout_init "struct callout *c" "int mpsafe" .Ft void .Fn callout_stop "struct callout *c" .Ft void @@ -169,6 +169,14 @@ initializes a callout so it can be passed to or .Fn callout_reset without any side effects. +If the +.Fa mpsafe +argument is zero, +the callout structure is not considered to be +.Dq multi-processor safe ; +that is, +the Giant lock will be acquired before calling the callout function, +and released when the callout function returns. .Pp The function .Fn callout_stop |
