ref: f238030498f6b30f6d11e000b053e6f5154e4702 dir: /lib/thread/ncpu+plan9.myr/
use std pkg thread = const ncpu : (-> int) ;; const ncpu = { match std.intparse(std.getenvv("NPROC", "1")) | `std.Some n: -> n | `std.None: -> 1 ;; }