Add check to see if the msg buffer is full during msg sending
[IRC.git] / Robust / src / Runtime / bamboo / multicoremsg.c
index e620a8ddd4ba952de38de39924438072d735185d..e259c3842680c708dad0385f73e025ebf766d736 100644 (file)
@@ -775,6 +775,7 @@ msg:
     return -1;
   }
   if(BAMBOO_CHECK_SEND_MODE()) {
+    BAMBOO_ASSERT((msgdataindex!=msgdatalast)||(!msgdatafull));
     // during send, don't process the msg now
     return -3; 
   }