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

joerg at britannica.bec.de joerg at britannica.bec.de
Tue May 16 06:20:45 PDT 2006


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





More information about the Commits mailing list