Thread.hx 307 B

123456789101112
  1. package lua.lib.luv;
  2. @:luaRequire("luv")
  3. extern class Thread {
  4. static function new_thread() : Timer;
  5. @:native("new_thread") function new() : Void;
  6. static function self() : Thread;
  7. static function sleep(msec : Int) : Void;
  8. function equal(t : Thread) : Bool;
  9. function join(t : Thread) : Bool;
  10. }