[lkml]   [2001]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: putting a user program to sleep till interrupted

A good explanation is found in:

and also in Chapter 5, 'Linux Device Drivers' from Alessandro Rubini & Jonathan Corbet
(you find an electronic version of the book in


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.
> -
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:
> IRC Channel: / #kernelnewbies
> Web Page:

Supercomputing System AG email:
Martin Maletinsky phone: +41 (0)1 445 16 05
Technoparkstrasse 1 fax: +41 (0)1 445 16 10
CH-8005 Zurich

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:03    [W:0.071 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site