Static variables

@:keepstaticread onlyevents:EventLoop

Static methods

@:keepstaticcreate(job:() ‑> Void):Thread

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

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

Available on python

@:keepstaticinlinecreateWithEventLoop(job:() ‑> Void):Thread

@:keepstaticcurrent():Thread

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

Available on macro

@:keep@:keepstaticprocessEvents():Void

Available on cpp, hl, python

@:keepstaticreadMessage(block:Bool):Dynamic

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

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

Available on hl

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

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

staticinlineyield():Void

Available on macro