Static variables

@:keepstaticread onlyevents:EventLoop

Static methods

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

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

staticcreate(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, python, hl

@:keepstaticreadMessage(block:Bool):Dynamic

Available on cpp, cs, python, neko, 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