Messages in this thread | | | Date | Fri, 14 Jul 2000 10:21:15 +0200 | From | Martin Frey <> | Subject | Re: sleeping kernel thread |
| |
Hi,
> does anyone know how to create a kernel thread, put it to sleep, and wake it > up?? > Have a look at: http://www.scs.ch/~frey/linux/kernelthreads.html
Creation and termination is described there, including a code example.
Use wake_up_interruptible() from an external event to wake it up (e.g. out of interrupt, out of ioctl, ...).
Best regards,
Martin Frey
-- Supercomputing Systems AG email: frey@scs.ch Martin Frey www: http://www.scs.ch/~frey Technoparkstrasse 1 phone: +41 (0)1 445 16 00 CH-8005 Zurich fax: +41 (0)1 445 16 10
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |