Messages in this thread | | | Date | Tue, 17 Apr 2001 23:43:39 +0200 | From | Andi Kleen <> | Subject | Re: kernel threads and close method in a device driver |
| |
On Tue, Apr 17, 2001 at 05:04:28PM -0400, Marty Leisner wrote: > open device > do IOCTL (spinning a kernel thread and doing initialization) > > There is currently an IOCTL which short-circuits to the close method. > Turns out it seems necessary to do this IOCTL -- close never gets > invoked.
Call daemonize() in the kernel thread.
-Andi - 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/
| |