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