putting a user program to sleep till interrupted

Anil Kumar (kernelmack@yahoo.com)
Fri, 28 Sep 2001 09:50:04 -0700 (PDT)

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.

Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/