Vishwas Manral wrote:
Hi folks,
I have Googled and gone through a lot of links and as well as browsed
through the Linux code but could not figure this one out. I wanted to
know if we could take semaphores in timer routine - bottom-half
context (I guess not).
What mechanism (softirq, tasklets, etc) can be used if we want to use
semaphores? Any links would be of great help.
Thanks,
Vishwas
heres a link - to a 130 page pdf IIRC,
theres a lot of context there, and more than I could digest and
assimilate in 1/2 a reading.
http://people.mech.kuleuven.ac.be/~bruyninc/rthowto/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/