From a341284704bc2f2fd1c4e6884a95baa26e25e37c Mon Sep 17 00:00:00 2001 From: bdemsky Date: Mon, 28 Mar 2011 05:01:36 +0000 Subject: [PATCH] bug fix --- Robust/src/Runtime/oooJava/hashStructure.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Robust/src/Runtime/oooJava/hashStructure.c b/Robust/src/Runtime/oooJava/hashStructure.c index 8f7b4db8..772b7e8e 100644 --- a/Robust/src/Runtime/oooJava/hashStructure.c +++ b/Robust/src/Runtime/oooJava/hashStructure.c @@ -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) { -- 2.34.1