From: bdemsky Date: Mon, 28 Mar 2011 05:01:36 +0000 (+0000) Subject: bug fix X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a341284704bc2f2fd1c4e6884a95baa26e25e37c;p=IRC.git bug fix --- 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) {