Date: Sat, 14 Oct 2000 15:35:08 +0000 From: Tony Finch <dot@dotat.at> To: Terry Lambert <tlambert@primenet.com> Cc: Jason Evans <jasone@canonware.com>, Alfred Perlstein <bright@wintelcom.net>, Chuck Paterson <cp@bsdi.com>, Mike Smith <msmith@FreeBSD.ORG>, arch@FreeBSD.ORG Subject: Re: we need atomic_t Message-ID: <20001014153508.C22336@hand.dotat.at> In-Reply-To: <200010130916.CAA22883@usr09.primenet.com> References: <20001012214446.H11949@canonware.com> <200010130916.CAA22883@usr09.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert <tlambert@primenet.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001014153508.C22336>