summaryrefslogtreecommitdiff
path: root/lib/thread/fsbase+openbsd.myr
blob: 7ae92b2736e68cf5b17137413bdb72ebc70e89a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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#)
}