diff options
author | 2006-10-10 14:07:56 +0000 | |
---|---|---|
committer | 2006-10-10 14:07:56 +0000 | |
commit | 29fa14c1fcacf5d4076406d72f9b02ca02768595 (patch) | |
tree | 842f1a330855794e7011163bf1d8a88fd7dab33f | |
parent | sync (diff) | |
download | wireguard-openbsd-29fa14c1fcacf5d4076406d72f9b02ca02768595.tar.xz wireguard-openbsd-29fa14c1fcacf5d4076406d72f9b02ca02768595.zip |
state when the sensor api can be used, and that care must be taken with
sensor_task_unregister.
tweaks from jmc@
-rw-r--r-- | share/man/man9/sensor_add.9 | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man9/sensor_add.9 b/share/man/man9/sensor_add.9 index 51dae79427f..06809c33c0b 100644 --- a/share/man/man9/sensor_add.9 +++ b/share/man/man9/sensor_add.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sensor_add.9,v 1.2 2006/05/29 10:39:29 jmc Exp $ +.\" $OpenBSD: sensor_add.9,v 1.3 2006/10/10 14:07:56 dlg Exp $ .\" .\" Copyright (c) 2006 Michael Knudsen <mk@openbsd.org> .\" All rights reserved. @@ -114,8 +114,18 @@ removes all tasks previously registered with .Fn sensor_task_register with an argument of .Fa arg . +.Pp +All the functions in the sensor framework must be called during +.Xr autoconf 9 +or from a process context. +Additionally, +.Fn sensor_task_unregister +must not be called while a function previously registered with +.Fn sensor_task_register +is running. .Sh SEE ALSO -.Xr sysctl 8 +.Xr sysctl 8 , +.Xr autoconf 9 .Sh HISTORY The sensor framework was written by .An Alexander Yurchenko Aq grange@openbsd.org |