bug fix
authorbdemsky <bdemsky>
Mon, 28 Mar 2011 05:01:36 +0000 (05:01 +0000)
committerbdemsky <bdemsky>
Mon, 28 Mar 2011 05:01:36 +0000 (05:01 +0000)
Robust/src/Runtime/oooJava/hashStructure.c

index 8f7b4db861f5264f100a66481f7f8863841069d0..772b7e8e5f142f0720873b8eda321ae905d6dad6 100644 (file)
@@ -165,6 +165,11 @@ inline int rcr_BWRITEBINCASE(HashStructure *T, int key, SESEcommon *task, struct
     //we may have to set write as ready
     while(1) {
       if (val==((BinItem_rcr *)b)) {
+       if (((INTPTR)task)&PARENTBIN) {
+         //pull b from bin
+         be->head=NULL;
+         return READY;
+       }
        b->item.status=READY;
        be->head=val;
        if (status&SPEC) {