Static variables

@:keepstaticread onlyevents:EventLoop

Static methods

@: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

Available on hl

@:keepstaticrunWithEventLoop(job:() ‑> Void):Void

@:keepstaticinlinesendMessage(this:ThreadImpl, msg:Dynamic):Void

staticsetName(this:ThreadImpl, name:String):Void

Available on hl

staticinlineyield():Void

Available on macro