splhi man page on Inferno

Man page or keyword search:  
man Server   579 pages
apropos Keyword Search (all sections)
Output format
Inferno logo
[printable version]

SPLHI(10.2)							   SPLHI(10.2)

NAME
       splhi, spllo, splx, islo - enable and disable interrupts

SYNOPSIS
       int  spllo(void)

       int  splhi(void)

       void splx(int x)

       int  islo(void)

DESCRIPTION
       These  primitives enable and disable maskable interrupts on the current
       processor.   Generally,	device	 drivers   should   use	  ilock	  (see
       lock(10.2)),  sleep(10.2),  or  the  functions  in qio(10.2) to control
       interaction between processes and interrupt handlers.   Those  routines
       (but not these) provide correct synchronisation on multiprocessors.

       Spllo  enables  interrupts and returns a flag representing the previous
       interrupt enable state.	It must not normally be called from  interrupt
       level.

       Splhi  disables all maskable interrupts and returns the previous inter‐
       rupt enable state.  The period during which interrupts are disabled had
       best be short, or real-time applications will suffer.

       Splx  restores  the  interrupt enable state state to x, which must be a
       value returned by a previous call to splhi or spllo.

       Islo returns true (non-zero) if interrupts are currently enabled, and 0
       otherwise.

SEE ALSO
       lock(10.2), qio(10.2), sleep(10.2), intrenable(10.2)

								   SPLHI(10.2)
[top]

List of man pages available for Inferno

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net