diff options
author | glenda <glenda@cirno> | 2022-09-13 18:30:06 +0000 |
---|---|---|
committer | glenda <glenda@cirno> | 2022-09-13 18:30:06 +0000 |
commit | b7e3d0927fe0821e919ccc4a66ef149bddcc20de (patch) | |
tree | 2c6e2e4fa7d31d3443dab3c0799bb6a44f60bcde /array.c | |
parent | 34adf252d179556df7d8277370e735c56c6ab3f5 (diff) |
Switch to rfork instead of libthread
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,6 +1,5 @@ #include <u.h> #include <libc.h> -#include <thread.h> #include <bio.h> #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; } } |