[PVFS2-CVS]
commit by pcarns in pvfs2/src/io/bmi/bmi_tcp: socket-collection.h
CVS commit program
cvs at parl.clemson.edu
Wed Mar 3 14:53:16 EST 2004
Update of /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp
In directory parlweb:/tmp/cvs-serv23913
Modified Files:
socket-collection.h
Log Message:
oh yeah, I guess we are writing this in the c language... put the
declartions at the top of the block :)
Index: socket-collection.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/bmi/bmi_tcp/socket-collection.h,v
diff -p -u -r1.8 -r1.9
--- socket-collection.h 3 Mar 2004 17:33:26 -0000 1.8
+++ socket-collection.h 3 Mar 2004 19:53:15 -0000 1.9
@@ -67,8 +67,8 @@ do { \
#define BMI_socket_collection_add_write_bit(s, m) \
do { \
- gen_mutex_lock(&((s)->queue_mutex)); \
struct tcp_addr* tcp_data = (m)->method_data; \
+ gen_mutex_lock(&((s)->queue_mutex)); \
tcp_data->write_ref_count++; \
BMI_socket_collection_queue((s),(m), &((s)->add_queue)); \
gen_mutex_unlock(&((s)->queue_mutex)); \
@@ -76,8 +76,8 @@ do { \
#define BMI_socket_collection_remove_write_bit(s, m) \
do { \
- gen_mutex_lock(&((s)->queue_mutex)); \
struct tcp_addr* tcp_data = (m)->method_data; \
+ gen_mutex_lock(&((s)->queue_mutex)); \
tcp_data->write_ref_count--; \
assert(tcp_data->write_ref_count > -1); \
BMI_socket_collection_queue((s),(m), &((s)->add_queue)); \
More information about the PVFS2-CVS
mailing list