This commit is contained in:
Dante
2026-05-22 11:48:42 -07:00
parent 0a5075319f
commit 05f197c291
2665 changed files with 198448 additions and 1 deletions

View File

@ -0,0 +1,12 @@
package flash.concurrent;
@:require(flash11_4) extern final class Condition {
@:flash.property var mutex(get,never) : Mutex;
function new(mutex : Mutex) : Void;
private function get_mutex() : Mutex;
function notify() : Void;
function notifyAll() : Void;
function wait(timeout : Float = -1) : Bool;
@:flash.property static var isSupported(get,never) : Bool;
private static function get_isSupported() : Bool;
}

View File

@ -0,0 +1,10 @@
package flash.concurrent;
@:require(flash11_4) extern final class Mutex {
function new() : Void;
function lock() : Void;
function tryLock() : Bool;
function unlock() : Void;
@:flash.property static var isSupported(get,never) : Bool;
private static function get_isSupported() : Bool;
}