summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-10-10 14:07:57 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-10-10 14:07:57 +0000
commit2c4906daab5a287e959d3f6c419aabb146318de6 (patch)
tree19353e89cd506b31b1a500a364017af3b428b2fc /share
parent8ddfd164e3dd4d8e23b0dd74a80e36651a50e27f (diff)
state when the sensor api can be used, and that care must be taken with
sensor_task_unregister. tweaks from jmc@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/sensor_add.914
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