Table of Contents

Class WaitHandleHelper

Namespace
Arc4u
Assembly
Arc4u.dll

Helpers for WaitHandle.

public class WaitHandleHelper
Inheritance
WaitHandleHelper
Inherited Members

Methods

WaitOne(WaitHandle, TimeSpan, bool)

Same as WaitHandle.WaitOne but accept a timeout with a value equal to Int64.MaxValue!

public static bool WaitOne(WaitHandle waitHandle, TimeSpan timeout, bool exitSync)

Parameters

waitHandle WaitHandle

The WaitHandle

timeout TimeSpan

The period

exitSync bool

true to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it afterward; otherwise, false.

Returns

bool

true if the current instance receives a signal; otherwise, false.