W3cubDocs

/Haxe C#

WaitHandle

package cs.system.threading

extends MarshalByRefObject

implements IDisposable

extended by Process_ProcessWaitHandle, EventWaitHandle

@:abstract@:libType@:csNative@:native("System.Threading.WaitHandle") Available on cs

Variables

Handle:IntPtr

SafeWaitHandle:SafeWaitHandle

Methods

@:overload Close ():Void

@:overload WaitOne ():Bool

@:overload WaitOne (timeout:TimeSpan, exitContext:Bool):Bool

@:overload WaitOne (timeout:TimeSpan):Bool

@:overload WaitOne (millisecondsTimeout:Int):Bool

@:overload WaitOne (millisecondsTimeout:Int, exitContext:Bool):Bool

Static variables

@:readOnly static read only WaitTimeout:Int

Static methods

@:final @:overload static SignalAndWait (toSignal:WaitHandle, toWaitOn:WaitHandle):Bool

@:final @:overload static SignalAndWait (toSignal:WaitHandle, toWaitOn:WaitHandle, timeout:TimeSpan, exitContext:Bool):Bool

@:final @:overload static SignalAndWait (toSignal:WaitHandle, toWaitOn:WaitHandle, millisecondsTimeout:Int, exitContext:Bool):Bool

@:final @:overload static WaitAll (waitHandles:NativeArray<WaitHandle>):Bool

@:final @:overload static WaitAll (waitHandles:NativeArray<WaitHandle>, timeout:TimeSpan):Bool

@:final @:overload static WaitAll (waitHandles:NativeArray<WaitHandle>, millisecondsTimeout:Int):Bool

@:final @:overload static WaitAll (waitHandles:NativeArray<WaitHandle>, timeout:TimeSpan, exitContext:Bool):Bool

@:final @:overload static WaitAll (waitHandles:NativeArray<WaitHandle>, millisecondsTimeout:Int, exitContext:Bool):Bool

@:final @:overload static WaitAny (waitHandles:NativeArray<WaitHandle>):Int

@:final @:overload static WaitAny (waitHandles:NativeArray<WaitHandle>, timeout:TimeSpan, exitContext:Bool):Int

@:final @:overload static WaitAny (waitHandles:NativeArray<WaitHandle>, millisecondsTimeout:Int):Int

@:final @:overload static WaitAny (waitHandles:NativeArray<WaitHandle>, timeout:TimeSpan):Int

@:final @:overload static WaitAny (waitHandles:NativeArray<WaitHandle>, millisecondsTimeout:Int, exitContext:Bool):Int

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/system/threading/WaitHandle.html