DragonFly BSD
DragonFly commits List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Tue, 16 May 2006 21:46:23 +0800

On 5/16/06, joerg@xxxxxxxxxxxxxxxxx <joerg@xxxxxxxxxxxxxxxxx> wrote:
On Tue, May 16, 2006 at 09:27:05PM +0800, Sepherosa Ziehau wrote:
> On 5/16/06, joerg@xxxxxxxxxxxxxxxxx <joerg@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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]