OpenAFS CVS Commit: openafs/src/rx by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Tue, 11 Mar 2008 14:27:39 EDT


Update of /cvs/openafs/src/rx
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/rx

Modified Files:
      Tag: openafs-devel-1_5_x
	rx.c rx.h rx_globals.h rx_packet.c 
Log Message:
DELTA DEVEL15-rx-mutex-interlocked-macros-20080311
AUTHOR jaltman@secure-endpoints.com
LICENSE IPL10

Introduce a new set of macros that can be used to permit either mutex
based protection or Interlocked operation protection increments,
decrements, or additions.

  rx_MutexIncrement(object, mutex)
  rx_MutexAdd(object, addend, mutex)
  rx_MutexDecrement(object, mutex)
  rx_MutexAdd1Increment2(object1, addend, object2, mutex)
  rx_MutexAdd1Decrement2(object1, addend, object2, mutex)

For Windows these are implemented with the Interlocked operations
for other platforms the existing mutex is relied upon.

Only a subset of the rx_stats parameters have been transitioned at the
current time.



--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-rx-mutex-interlocked-macros-20080311 openafs/src/rx/rx.c 1.97.2.15 1.97.2.16
DEVEL15-rx-mutex-interlocked-macros-20080311 openafs/src/rx/rx.h 1.28.4.5 1.28.4.6
DEVEL15-rx-mutex-interlocked-macros-20080311 openafs/src/rx/rx_globals.h 1.21.2.6 1.21.2.7
DEVEL15-rx-mutex-interlocked-macros-20080311 openafs/src/rx/rx_packet.c 1.62.2.10 1.62.2.11