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