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