Re: recursive locking in linux?

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

 



On 3/19/07, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

>
> i thought you couldn't use semaphores from interrupt context, anyway.
> can someone clarify this?  thanks.

you can release semaphores in interrupt context, and you can do a
trylock in interrupt context as well.


When we increment / release a semaphore in interrupt context, in the
process of releasing the semaphore, won't the kernel try to reschedule
if a higher priority process was waiting on the semaphore?

Thanks,

Dan

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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