Haxe port of ActionScript Thread Library.