> Thanks for your reply, but isn't the second parameter supposed to be a > boolean C expression anyway ? Yes. You're right. I was thinking of interruptible_sleep_on_timeout. Sorry. In your case, you're always adding ticks to jiffies. So, unless ticks is 0, timeout will always be greater than jiffies and you will always wait. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/