public FastEventWH(bool autoReset, bool value) { fe = new FastEvent(autoReset, value); waitObject = fe; }
/// <summary> /// Initializes a rundown protection structure. /// </summary> /// <param name="value">The initial usage count.</param> public RundownProtection(int value) { _value = RundownCountIncrement * value; _wakeEvent = new FastEvent(false); }