missing barrier
authorbdemsky <bdemsky>
Sat, 2 Apr 2011 21:03:59 +0000 (21:03 +0000)
committerbdemsky <bdemsky>
Sat, 2 Apr 2011 21:03:59 +0000 (21:03 +0000)
Robust/src/Runtime/oooJava/hashStructure.c

index 772b7e8e5f142f0720873b8eda321ae905d6dad6..2bbf4c84f6ae89e05b96e13ab8ebeaec7269d391 100644 (file)
@@ -160,7 +160,7 @@ inline int rcr_BWRITEBINCASE(HashStructure *T, int key, SESEcommon *task, struct
   b->item.status=status;
   bintail->next=(BinItem_rcr*)b;
   be->tail=(BinItem_rcr*)b;
-  
+  BARRIER();
   if (bintail->status==READY&&bintail->total==0) {
     //we may have to set write as ready
     while(1) {