Re: cvs commit: src/sys/i386/include atomic.h

[ Available lists | Index of cvs-all | Month of Oct 2001 | Week of 8 Oct 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Poul-Henning Kamp <phk@critter.freebsd.dk>
Date
8 Oct 2001 23:09:34
Subject
Re: cvs commit: src/sys/i386/include atomic.h
Message-ID
66596.1002607759@critter.freebsd.dk

In reply to
Referenced by

[ Hide this part ]
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



Elapsed time: 0.094 seconds