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