Condition.hx 418 B

123456789101112
  1. package flash.concurrent;
  2. @:require(flash11_4) extern final class Condition {
  3. @:flash.property var mutex(get,never) : Mutex;
  4. function new(mutex : Mutex) : Void;
  5. private function get_mutex() : Mutex;
  6. function notify() : Void;
  7. function notifyAll() : Void;
  8. function wait(timeout : Float = -1) : Bool;
  9. @:flash.property static var isSupported(get,never) : Bool;
  10. private static function get_isSupported() : Bool;
  11. }