 |
Index for Section 9v |
|
 |
Alphabetical listing for L |
|
 |
Bottom of page |
|
lbolt(9v)
NAME
lbolt - Global Variable: Is a periodic wakeup mechanism
SYNOPSIS
extern time_t lbolt;
DESCRIPTION
You use the lbolt global variable as a periodic wakeup mechanism. Wakeups
are done on the lbolt variable once per second. For example, if a kernel
module was polling for an event once per second, you could use the
following code:
.
.
.
sleep((caddr_t) &lbolt, PZERO);
.
.
.
FILES
/usr/sys/include/sys/kernel.h
 |
Index for Section 9v |
|
 |
Alphabetical listing for L |
|
 |
Top of page |
|