summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-05-11 07:44:40 +0000
committerbde <bde@FreeBSD.org>1995-05-11 07:44:40 +0000
commitef98a885661c3d2f2fe8570c56dba5723d570c13 (patch)
tree0d5164dc358e5c6acd11b945b1b53af7244beb76 /usr.sbin
parent561eb80e564511caf11e035642fba1a429106466 (diff)
downloadFreeBSD-src-ef98a885661c3d2f2fe8570c56dba5723d570c13.zip
FreeBSD-src-ef98a885661c3d2f2fe8570c56dba5723d570c13.tar.gz
Add variable `idelayed' and macros setdelayed() and schedsofttty()
to access it. setdelayed() actually ORs the bits in `idelayed' into `ipending' and clears `idelayed'. Call setdelayed() every (normal) clock tick to convert delayed interrupts into pending ones. Drivers can set bits in `idelayed' at any time to schedule an interrupt at the next clock tick. This is more efficient than calling timeout(). Currently only software interrupts can be scheduled.
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud