Synchro

Static methods

staticlock(obj:Dynamic, func:() ‑> Void):Bool

A method implementing C# lock via monitor. Returns true if executing is finished correct, false instead.

staticmutex(func:() ‑> Void):Bool

A method implementing C# mutex. Returns true if executing is finished correct, false instead. It is guaranteed that mutex will not be abandoned, unless whole application crashes.