summaryrefslogtreecommitdiff
path: root/lib/thread/ncpu+plan9.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/ncpu+plan9.myr')
-rw-r--r--lib/thread/ncpu+plan9.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread/ncpu+plan9.myr b/lib/thread/ncpu+plan9.myr
index 25d09cb..a13725c 100644
--- a/lib/thread/ncpu+plan9.myr
+++ b/lib/thread/ncpu+plan9.myr
@@ -5,7 +5,7 @@ pkg thread =
;;
const ncpu = {
- match std.intparse(std.getenvv("NPROC", ""))
+ match std.intparse(std.getenvv("NPROC", "1"))
| `std.Some n: -> n
| `std.None: -> 1
;;