[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test framework; new counter class
From: |
Albert Strasheim |
Subject: |
Re: Test framework; new counter class |
Date: |
Wed, 1 Jan 2003 01:04:56 +0200 |
User-agent: |
Mutt/1.4i |
Hello,
On Wed, 01 Jan 2003, Albert Strasheim wrote:
<snip>
> > One point that you should take into account for the atomic
> > counter stuff is that we removed the use of asm/atomic.h (actually
> > there should not be any references to it left) a few weeks ago. Look
> > for a bug report that we received from the debian maintainer of
> > commoncpp2, at the September and October archives of bug-commoncpp. I
> > think we should not wait to add the counter template to HEAD, and if
> > you think the interface is stable, it should also get into RELEASE1.
>
> I'll look at the atomic.h stuff now.
I'm confused.
We should be using sys/atomic.h instead of asm/atomic.h, because
asm/atomic.h is an evil kernel header. Yet I haven't been able to find
an i386 Linux system on which sys/atomic.h actually exists (checked
Debian unstable, RedHat 7.1, and recent Mandrake).
Where is it? How do I get at the atomic stuff on i386 without violating
this policy?
Cheers,
Albert