From 94ae60519140f72f84ae6a4a04622a63f7ac6261 Mon Sep 17 00:00:00 2001 From: yeom Date: Fri, 5 Nov 2010 20:59:46 +0000 Subject: [PATCH] changes: don't need to have resolvePointer opr for coarse cases. --- Robust/src/Runtime/mlp_runtime.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Robust/src/Runtime/mlp_runtime.c b/Robust/src/Runtime/mlp_runtime.c index ad733fc4..ee4a593f 100644 --- a/Robust/src/Runtime/mlp_runtime.c +++ b/Robust/src/Runtime/mlp_runtime.c @@ -969,8 +969,13 @@ int RESOLVEBUF(MemoryQueue * q, SESEcommon *seseCommon){ void resolvePointer(REntry* rentry){ Hashtable* table=(Hashtable *)rentry->qitem; MemoryQueue* queue; - if(table==NULL || table->unresolvedQueue==NULL){ - //resolved already before related rentry is enqueued to the waiting queue + // we don't need to consider unresolved cases for coarse rentries. + // or if resolved already before related rentry is enqueued to the waiting queue + if(rentry->type==COARSE || + rentry->type==PARENTCOARSE || + rentry->type==SCCITEM || + table==NULL || + table->unresolvedQueue==NULL){ return; } struct Queue* val; -- 2.34.1