ref: dc338852ab7da15657147df7df25eec078e09aa1 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 ;; }