Hi all, the function down_interruptible(&sem) returns true if the sem was already held by another task. Am I right? When the critical region is up, the task from wait queue is woken up and it is restored from the point it has stopped to run, I mean it keeps the execution after the down_interruptible(&sem). Am I right? BR, Mauricio Lin ===== ************************************************ Conhecimento vem do seu instrutor; Sabedoria vem do seu interior. (Bruce Lee) ************************************************ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/