cvs commit: src/lib/libthread_xu/arch/i386/include pthread_md.h src/sys/dev/drm drm_os_freebsd.h src/sys/i386/include atomic.h

Sepherosa Ziehau sepherosa at gmail.com
Tue May 16 06:46:51 PDT 2006


On 5/16/06, joerg at xxxxxxxxxxxxxxxxx <joerg at xxxxxxxxxxxxxxxxx> wrote:
On Tue, May 16, 2006 at 09:27:05PM +0800, Sepherosa Ziehau wrote:
> On 5/16/06, joerg at xxxxxxxxxxxxxxxxx <joerg at xxxxxxxxxxxxxxxxx> wrote:
> >On Tue, May 16, 2006 at 05:34:15AM -0700, Sepherosa Ziehau wrote:
> >>   Put atomic_cmpset_int() into central place.  This function was defined
> >and
> >>   used in many places.
> >
> >This wasn't part of atomic.h, since it is a !i386 function. For example,
> >the dynamic linker determines the CPU type at runtime and uses either
> >cmpxchg or a slower, horrible version for i386.
>
> Do we still suport i386?
I don't see anything specific, which wouldn't work on an i386.
Then, is there any other central place, except for atomic.h, to put
this fuction?
Best Regards,
sephe
--
Live Free or Die





More information about the Commits mailing list