Jim Cromie wrote: > Vishwas Manral wrote: >> 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. Rusty Russell and Robert Love gave a tutorial at LinuxConf Australia, and one of the topics was which synchronization primitives are available (and useful) in which contexts. See the presentation available at: http://ozlabs.org/~rusty/index.cgi/tech/2005-05-23.html Hope this helps. -- Tim ============================= Tim Bird Architecture Group Chair, CE Linux Forum Senior Staff Engineer, Sony Electronics ============================= -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/