Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932145AbWBJPwm (ORCPT ); Fri, 10 Feb 2006 10:52:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932147AbWBJPwm (ORCPT ); Fri, 10 Feb 2006 10:52:42 -0500 Received: from static-62-123-141-82.atlanet.it ([62.123.141.82]:40945 "EHLO laplace.campana.vi.it") by vger.kernel.org with ESMTP id S932145AbWBJPwl (ORCPT ); Fri, 10 Feb 2006 10:52:41 -0500 Message-ID: <43ECB713.4010908@campana.vi.it> Date: Fri, 10 Feb 2006 16:53:55 +0100 From: Ottavio Campana User-Agent: Mozilla Thunderbird 1.0.2 (X11/20051002) X-Accept-Language: it, it-it, en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: example of kernel thread X-Enigmail-Version: 0.91.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 663 Lines: 19 I'm writing a little driver and I need to run a thread to poll data. I've googled a bit to find an example, but I only found this http://www.scs.ch/~frey/linux/kernelthreads.html but it is for 2.4, while I need it for 2.6 Do you know any example and/or tutorial for kernel threads? Thank you. PS: can you please CC me because I didn't subscribe the list? -- Non c'? pi? forza nella normalit?, c'? solo monotonia. - 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/