From owner-cvs-all Mon Oct 8 23: 9:34 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 2883B37B409; Mon, 8 Oct 2001 23:09:30 -0700 (PDT) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id f9969J166598; Tue, 9 Oct 2001 08:09:19 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Matt Dillon Cc: John Baldwin , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include atomic.h In-Reply-To: Your message of "Mon, 08 Oct 2001 21:34:36 PDT." <200110090434.f994Yam09790@earth.backplane.com> Date: Tue, 09 Oct 2001 08:09:19 +0200 Message-ID: <66596.1002607759@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <200110090434.f994Yam09790@earth.backplane.com>, Matt Dillon writes: > I don't think it's a good idea to expose the atomic_*() ops or any other > SMP mechanisms in the kernel to userland. If we are going to be serious about threads, we need to expose some kind of atomic ops to userland. I can't see why they could not be the same as we use in the kernel... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message