ref: ba1476058afaffc3f24ca8fbde11234def04d1bf
dir: /lib/thread/fsbase+openbsd.myr/
use sys
use "types"
pkg thread =
	pkglocal const setfsbase : (h : tlshdr# -> void)
	pkglocal const getfsbase : (-> tlshdr#)
;;
const setfsbase = {h
	sys.__set_tcb((h : void#))
}
const getfsbase = {
	-> (sys.__get_tcb() : tlshdr#)
}