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