added system.getThreadId for various OSes (untested)
added system.getThreadId for various OSes (untested)

dom96/Nim,russpowers/Nim,russpowers/Nim,dom96/Nim,tulayang/Nim,dom96/Nim,dom96/Nim,dom96/Nim,tulayang/Nim,russpowers/Nim,russpowers/Nim,tulayang/Nim,tulayang/Nim,russpowers/Nim,russpowers/Nim,dom96/Nim,tulayang/Nim,tulayang/Nim,russpowers/Nim,dom96/Nim