On Tue, Nov 30, 2004 at 08:25:16AM +0530, Karthik Subramanian wrote: > Thanks Greg, but it looks like the version of the kernel I'm using > doesn't have msleep. > > I realize that I should've been a little more specific: > > I'm using the linux kernel version 2.4.18-14. That's a kernel that is _years_ old. Please upgrade as that kernel has loads of known bugs and security issues. > What I need to do is this - one kernel module has to wait for another > kernel module to do some processing and set a flag. So I'm trying to > get the listening kernel module to sleep for some time. Look at how msleep is implemented in the current kernel. That way should work for you. thanks, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/