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: joerg@xxxxxxxxxxxxxxxxx
Date: Tue, 16 May 2006 15:18:27 +0200
Mail-followup-to: commits@crater.dragonflybsd.org

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.

Joerg



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