Simple thread PAL type (until core/ is rewritten).