Re: sys_getpriority()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 14, 2001 at 05:27:43PM +0900, Jonathan Khoo wrote:
> Hi guys,
> 
> My question might be slightly out of topic. But is there anything in
> Linux that resembles the BSD lowering and increasing interrupt priority?
> Eg. splsoftnet and splnet etc. 

Linux only has interrupts on or off.
It is either switched globally by cli() and sti() or per-cpu by
__cli() and __sti().

	Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux