Date: Sat, 25 May 1996 11:36:51 +0900 (JST) From: Michael Hancock <michaelh@cet.co.jp> To: Rodrigo Ormonde <ormonde@trem.cnt.org.br> Cc: freebsd-hackers@FreeBSD.org Subject: Re: splnet() and splx() Message-ID: <Pine.SV4.3.93.960525113329.12137B-100000@parkplace.cet.co.jp> In-Reply-To: <9605241317.AA09726@trem.cnt.org.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 24 May 1996, Rodrigo Ormonde wrote: > I'm working inside the FreeBSD kernel and sometimes I see the following > construction: (it is present in many modules) > > int s; > > s = splnet(); > > /* There is code here */ > > splx(s); > > Does anybody know what are the functions splnet() and splx() ? They are for blocking and restoring interrupts. spl stands for Set Priority Level. -mh
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.93.960525113329.12137B-100000>