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/
This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:19 EST