Hello, A good explanation is found in: http://www.linuxdoc.org/LDP/lki/lki-2.html#ss2.5 and also in Chapter 5, 'Linux Device Drivers' from Alessandro Rubini & Jonathan Corbet (you find an electronic version of the book in http://www.oreilly.com/catalog/linuxdrive2/) regards Martin Anil Kumar wrote: > hi, > I wanted to know how a user program/process can be put > to sleep by using the functions given in the kernel. I > will be calling the function not from user space but > from kernel space, i.e. from inside the kernel. I also > want to be able to start it again whenever required. > I went thru sched.c but couldn't figure out how to > make my own wait list. > Thanx in advance. > Anil > > __________________________________________________ > Do You Yahoo!? > Listen to your Yahoo! Mail messages from any phone. > http://phone.yahoo.com > - > Kernelnewbies: Help each other learn about the Linux kernel. > Archive: http://mail.nl.linux.org/kernelnewbies/ > IRC Channel: irc.openprojects.net / #kernelnewbies > Web Page: http://www.kernelnewbies.org/ -- Supercomputing System AG email: maletinsky@scs.ch Martin Maletinsky phone: +41 (0)1 445 16 05 Technoparkstrasse 1 fax: +41 (0)1 445 16 10 CH-8005 Zurich - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/