signed off by: Firas Mahamid
Index: shutter.h
===================================================================
--- shutter.h (revision 2558)
+++ shutter.h (working copy)
@@ -110,8 +110,8 @@
static inline void shutter_alive(shutter_t * p_shutter)
{
long res = 0;
- ASSERT(p_shutter->cnt == -MAX_OPERATIONS);
- // Mark the counter as locked
+
+ // Mark the counter as alive
res = InterlockedExchangeAdd(&p_shutter->cnt, MAX_OPERATIONS);
ASSERT(res < 0);
}
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw