From owner-freebsd-net Fri Oct 6 13:12:59 2000 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 07B1437B502 for ; Fri, 6 Oct 2000 13:12:58 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e96KCuo03846; Fri, 6 Oct 2000 13:12:56 -0700 (PDT) Date: Fri, 6 Oct 2000 13:12:56 -0700 From: Alfred Perlstein To: Wilbert de Graaf Cc: freebsd-net@FreeBSD.ORG Subject: Re: how to lock, but not using spl Message-ID: <20001006131256.D266@fw.wintelcom.net> References: <39DE266B.E9975E2F@hetnet.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <39DE266B.E9975E2F@hetnet.nl>; from wilbertdg@hetnet.nl on Fri, Oct 06, 2000 at 12:22:19PM -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org * Wilbert de Graaf [001006 12:22] wrote: > > > I have been working on some FreeBSD networking code, that used spl() to > protect a linked list. I want to change this using ? so that it would > run on SMP systems too. I monitored the SMP list and had a look in the > 4.4BSD book but I haven't been able to find how to do it on BSD. Is > there any sample or can anybopdy give me a pointer ? See the mutex.9 manpage in recent -current. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message