From cf60a97b1c100cd7ac36ee9063a920988ce9a92f Mon Sep 17 00:00:00 2001 From: jzhou Date: Mon, 24 Nov 2008 22:30:36 +0000 Subject: [PATCH] bug fix in threadsimulator --- Robust/src/Runtime/multicoretask.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Robust/src/Runtime/multicoretask.c b/Robust/src/Runtime/multicoretask.c index 237a1eb8..41999f32 100644 --- a/Robust/src/Runtime/multicoretask.c +++ b/Robust/src/Runtime/multicoretask.c @@ -4087,6 +4087,8 @@ execute: } #elif defined THREADSIMULATE for(i = 0; i < numparams; ++i) { + int numlocks; + int * locks; if(0 == isolateflags[i]) { struct ___Object___ * tmpparam = (struct ___Object___ *)taskpointerarray[i+OFFSET]; if(tmpparam->numlocks == 0) { -- 2.34.1