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