From b7e3d0927fe0821e919ccc4a66ef149bddcc20de Mon Sep 17 00:00:00 2001 From: glenda Date: Tue, 13 Sep 2022 18:30:06 +0000 Subject: Switch to rfork instead of libthread --- array.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index a46668b..554c60b 100644 --- a/array.c +++ b/array.c @@ -1,6 +1,5 @@ #include #include -#include #include #include "apl9.h" @@ -323,7 +322,7 @@ comparearray(Array *a, Array *b, int checkshapes) break; default: print("Missing comparison code for type %d\n", GetType(a)); - threadexitsall(nil); + exits(nil); } if(sub != 0) return sub; @@ -365,7 +364,7 @@ fillelement(Array *a) } default: print("Can't make fill element of array type %d\n", GetType(a)); - threadexitsall(nil); + exits(nil); return 0; } } -- cgit v1.2.3