forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
12
Kha/Tools/macos/std/flash/concurrent/Condition.hx
Normal file
12
Kha/Tools/macos/std/flash/concurrent/Condition.hx
Normal 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;
|
||||
}
|
10
Kha/Tools/macos/std/flash/concurrent/Mutex.hx
Normal file
10
Kha/Tools/macos/std/flash/concurrent/Mutex.hx
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user