Available on cs, cpp, macro, hl, neko, java, python
staticread onlyevents:EventLoop
staticcreate(job:() ‑> Void):Thread
staticinlinecreateWithEventLoop(job:() ‑> Void):Thread
staticcurrent():Thread
@:op(A == B)staticinlineequals(this:ThreadImpl, other:Thread):Bool
Available on macro
staticgetName(this:ThreadImpl):Null<String>
Available on hl
@:keep@:keepstaticprocessEvents():Void
Available on cpp, hl, python
staticreadMessage(block:Bool):Dynamic
Available on cs, cpp, macro, neko, java, python
@:value({ block : true })staticreadMessage(block:Bool = true):Dynamic
staticrunWithEventLoop(job:() ‑> Void):Void
staticinlinesendMessage(this:ThreadImpl, msg:Dynamic):Void
staticsetName(this:ThreadImpl, name:String):Void
staticinlineyield():Void