ref: d4030509dc5ebcfb8e3922ab01bda9ada8cd094d dir: /lib/thread/test/die.myr/
use thread const main = { var m = thread.mkmtx() thread.mtxlock(&m) thread.mtxunlock(&m) thread.mtxunlock(&m) }