summaryrefslogtreecommitdiff
path: root/lib/thread/test/die.myr
blob: db0fb2199a45c6d43e18bb6f22859c0ffa8ba734 (plain)
1
2
3
4
5
6
7
8
use thread

const main = {
	var m = thread.mkmtx()
	thread.mtxlock(&m)
	thread.mtxunlock(&m)
	thread.mtxunlock(&m)
}