From owner-freebsd-hackers Mon Nov 23 10:52:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA01648 for freebsd-hackers-outgoing; Mon, 23 Nov 1998 10:52:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from soprano.psn.ie (soprano.psn.ie [194.106.150.254]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA01640 for ; Mon, 23 Nov 1998 10:52:37 -0800 (PST) (envelope-from andy@psn.ie) Received: from gromit.psn.ie ([194.106.150.251] helo=gw.home) by soprano.psn.ie with esmtp (Exim 2.02 #1) id 0zi162-0000F8-00 for freebsd-hackers@freebsd.org; Mon, 23 Nov 1998 18:52:27 +0000 Received: from localhost (andy@localhost) by gw.home (8.8.8/8.8.8) with SMTP id SAA00296 for ; Mon, 23 Nov 1998 18:44:36 GMT (envelope-from andy@psn.ie) X-Authentication-Warning: gw.home: andy owned process doing -bs Date: Mon, 23 Nov 1998 18:44:36 +0000 (GMT) From: Andy Doran X-Sender: andy@gw.home To: freebsd-hackers@FreeBSD.ORG Subject: Kernel threads Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all! I'm porting the NetBSD RAIDframe driver to FreeBSD at the moment, and I need a little help. Firstly, is there any way to dynamically create and destroy kernel threads like kthreads in NetBSD? I could create them statically but it would require a lot of changes to the code. Two other things; it is possible to guarantee that a psuedo device is attached only after all other psuedo devices? Also, do I have to modify the kernel to guarantee that my device can do it's RAID array setup as soon as all disklabels and partition tables have been read, or is there some sort of hook for this? Thanks for the help, Andy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message