]> git.openfabrics.org - ~shefty/rdma-win.git/commit
dapl: fix ring buffer synchronization
authorSean Hefty <sean.hefty@intel.com>
Thu, 4 Mar 2010 22:54:46 +0000 (14:54 -0800)
committerSean Hefty <sean.hefty@intel.com>
Tue, 9 Mar 2010 01:13:44 +0000 (17:13 -0800)
commitff24472f5871274d5ce937b6c9a771492fc1e2c1
treeba2ca55385b1ce49fc2ad11ebd19bfb37aa91978
parent6cb488a1a7ddc36e7017499d52152f0267669e02
dapl: fix ring buffer synchronization

The dapl ring buffer implementation is not thread safe and requires
the user to provide all synchronization.  Since the user must provide
synchronization, replace atomic definitions with simple ints to
improve performance and make the code more self-documenting that
no synchronization is provided.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/ulp/dapl2/dapl/common/dapl_ring_buffer_util.c
trunk/ulp/dapl2/dapl/common/dapl_ring_buffer_util.h
trunk/ulp/dapl2/dapl/include/dapl.h