From owner-freebsd-arch Tue Oct 17 16:22:56 2000 Delivered-To: freebsd-arch@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id E30BF37B4FE; Tue, 17 Oct 2000 16:22:52 -0700 (PDT) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 13kTL2-0005wE-00; Sat, 14 Oct 2000 15:35:08 +0000 Date: Sat, 14 Oct 2000 15:35:08 +0000 From: Tony Finch To: Terry Lambert Cc: Jason Evans , Alfred Perlstein , Chuck Paterson , Mike Smith , arch@FreeBSD.ORG Subject: Re: we need atomic_t Message-ID: <20001014153508.C22336@hand.dotat.at> References: <20001012214446.H11949@canonware.com> <200010130916.CAA22883@usr09.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200010130916.CAA22883@usr09.primenet.com> Organization: Covalent Technologies, Inc Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Terry Lambert wrote: >> Here's one of Butenhof's example programs, which uses POSIX threads: > >[ ... technically illegal program that uses structure assignment ... ] It's structure initialization, not assignment, but your main point is right. >That's still technically illegal, since it assumes that a mutex >is merely a value in implementation, instead of potentially >something that lives on a linked list which is tracked to ensure >against deadlocks (for instance). Tony. -- en oeccget g mtcaa f.a.n.finch v spdlkishrhtewe y dot@dotat.at eatp o v eiti i d. fanf@covalent.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message