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