diff options
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ #include <u.h> #include <libc.h> +#include <thread.h> #include <bio.h> #include "apl9.h" @@ -324,7 +325,7 @@ comparearray(Array *a, Array *b, int checkshapes) break; default: print("Missing comparison code for type %d\n", a->type); - exits(nil); + threadexitsall(nil); } if(sub != 0) return sub; @@ -364,7 +365,7 @@ fillelement(Array *a) } default: print("Can't make fill element of array type %d\n", a->type); - exits(nil); + threadexitsall(nil); return 0; } } |