cvs commit: src/sys/alpha/include atomic.h src/sys/amd64/include atomic.h src/sys/arm/include atomic.h src/sys/i386/include atomic.h src/sys/ia64/include atomic.h src/sys/powerpc/include atomic.h src/sys/sparc64/include atomic.h

John Baldwin jhb at FreeBSD.org
Tue Sep 27 10:39:11 PDT 2005


jhb         2005-09-27 17:39:11 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/include    atomic.h 
    sys/amd64/include    atomic.h 
    sys/arm/include      atomic.h 
    sys/i386/include     atomic.h 
    sys/ia64/include     atomic.h 
    sys/powerpc/include  atomic.h 
    sys/sparc64/include  atomic.h 
  Log:
  Add a new atomic_fetchadd() primitive that atomically adds a value to a
  variable and returns the previous value of the variable.
  
  Tested on:      i386, alpha, sparc64, arm (cognet)
  Reviewed by:    arch@
  Submitted by:   cognet (arm)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.24      +22 -0     src/sys/alpha/include/atomic.h
  1.39      +21 -0     src/sys/amd64/include/atomic.h
  1.11      +38 -0     src/sys/arm/include/atomic.h
  1.41      +21 -0     src/sys/i386/include/atomic.h
  1.10      +19 -0     src/sys/ia64/include/atomic.h
  1.14      +13 -0     src/sys/powerpc/include/atomic.h
  1.10      +3 -0      src/sys/sparc64/include/atomic.h


More information about the cvs-src mailing list