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