summaryrefslogtreecommitdiff
path: root/lib/thread
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-12-14 14:51:30 -0800
committerOri Bernstein <ori@eigenstate.org>2017-12-14 14:51:30 -0800
commit920b587c66cc2bb5169a117500deb9f8b00127fd (patch)
treefa78cd059c021511f87906a5fc66a7cc00b2750e /lib/thread
parent377381aa9dcdc3a004faac1b06aa79d0e4fa9c98 (diff)
downloadmc-920b587c66cc2bb5169a117500deb9f8b00127fd.tar.gz
Add atexit for 9front.
A tad ugly, but a start. Maybe we'll figure something better out soon.
Diffstat (limited to 'lib/thread')
-rw-r--r--lib/thread/spawn+plan9.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread/spawn+plan9.myr b/lib/thread/spawn+plan9.myr
index d79731a..e577e7c 100644
--- a/lib/thread/spawn+plan9.myr
+++ b/lib/thread/spawn+plan9.myr
@@ -9,7 +9,7 @@ pkg thread =
const spawn = {fn
fn = std.fndup(fn)
- match sys.rfork(sys.Rfproc | sys.Rfmem | sys.Rfnowait)
+ match sys.rfork(sys.Rfproc | sys.Rfmem)
| 0:
fn()
std.fnfree(fn)