shithub: Nail

Download patch

ref: aff5e269a3630965eced11d9f0a53619e0d89d31
parent: dbb405f80bf9f5ae44afdd5eafa59e8935875246
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Nov 4 21:30:35 EST 2020

compmain should run in a thread, not a proc

it's assuming cooperative scheduling...

--- a/comp.c
+++ b/comp.c
@@ -185,5 +185,5 @@
 		Bterm(wfd);
 	}
 	Bterm(wfd);
-	proccreate(compmain, c, Stack);
+	threadcreate(compmain, c, Stack);
 }