From c6e1c83f93f63a061f0804821ed29c656da38f28 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Tue, 8 Feb 2022 16:03:10 +0000 Subject: Add work in progress concurrency. Might break stuff! --- memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'memory.c') diff --git a/memory.c b/memory.c index 04c716d..4606ef2 100644 --- a/memory.c +++ b/memory.c @@ -68,11 +68,11 @@ allocarray(arrayDataType t, int rank, int size) } void -incref(Array *a) +incarrayref(Array *a) { /* print("INCREF %d->%d %S\n", a->refs, a->refs+1, pparray(a)); */ a->refs++; if(a->type == AtypeArray) for(int i = 0; i < a->size; i++) - incref(a->arraydata[i]); + incarrayref(a->arraydata[i]); } \ No newline at end of file -- cgit v1.2.3