From owner-freebsd-hackers Mon Jul 16 10: 0:21 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id 977E037B401 for ; Mon, 16 Jul 2001 10:00:16 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.130.87.Dial1.SanJose1.Level3.net [209.245.130.87]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA25499; Mon, 16 Jul 2001 10:00:13 -0700 (PDT) Message-ID: <3B531DC2.DD8B9D1B@mindspring.com> Date: Mon, 16 Jul 2001 10:00:50 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: sridharv@ufl.edu Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: init References: <200107152301.TAA16828@anansi.vpha.health.ufl.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sridharv@ufl.edu wrote: > > i need to TAILQ_INIT a queue at kernel startup .. how > can i do it in my code? > reg Grep for "SYSINIT" in the kernel sources. Do your initialization as late as possible, but before the queue is used. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message