[portals4] r2292 committed - Fix problem where PT_DISABLED event was not getting delviered after PT...

0 views
Skip to first unread message

port...@googlecode.com

unread,
Nov 13, 2014, 10:58:15 AM11/13/14
to portals4...@googlegroups.com
Revision: 2292
Author: regra...@gmail.com
Date: Thu Nov 13 15:57:58 2014 UTC
Log: Fix problem where PT_DISABLED event was not getting delviered
after PT had previously been disabled.


https://code.google.com/p/portals4/source/detail?r=2292

Modified:
/trunk/src/ib/ptl_pt.c

=======================================
--- /trunk/src/ib/ptl_pt.c Wed Oct 2 21:26:45 2013 UTC
+++ /trunk/src/ib/ptl_pt.c Thu Nov 13 15:57:58 2014 UTC
@@ -340,6 +340,7 @@
PTL_FASTLOCK_LOCK(&pt->lock);
}
pt->state = PT_ENABLED;
+ pt->num_tgt_active = 0;
PTL_FASTLOCK_UNLOCK(&pt->lock);

ni_put(ni);
Reply all
Reply to author
Forward
0 new messages