Available on cpp, macro, jvm, hl, neko, python
@:keepstaticread onlyevents:EventLoop
@:keepstaticinlinecreate(job:() ‑> Void):Thread
@:keepstaticinlinecreateWithEventLoop(job:() ‑> Void):Thread
@:keepstaticcurrent():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
@:keepstaticreadMessage(block:Bool):Dynamic
Available on cpp, macro, jvm, neko, python
@:value({ block : true })staticreadMessage(block:Bool = true):Dynamic
@:keepstaticrunWithEventLoop(job:() ‑> Void):Void
@:keepstaticinlinesendMessage(this:ThreadImpl, msg:Dynamic):Void
staticsetName(this:ThreadImpl, name:String):Void
staticinlineyield():Void