Static variables

staticread onlyevents:EventLoop

Static methods

staticcreate(job:() ‑> Void):Thread

Available on neko, cs, java, cpp, macro, hl

staticcreate(callb:() ‑> Void):Thread

Available on python

staticinlinecreateWithEventLoop(job:() ‑> Void):Thread

staticcurrent():Thread

@:op(A == B)staticinlineequals(this:ThreadImpl, other:Thread):Bool

Available on macro

@:keep@:keepstaticprocessEvents():Void

Available on cpp, python, hl

staticreadMessage(block:Bool):Dynamic

Available on neko, cs, java, cpp, python, macro

@:value({ block : true })staticreadMessage(block:Bool = true):Dynamic

Available on hl

staticrunWithEventLoop(job:() ‑> Void):Void

staticinlinesendMessage(this:ThreadImpl, msg:Dynamic):Void

staticinlineyield():Void

Available on macro