public FastEventWH(bool autoReset, bool value)
 {
     fe         = new FastEvent(autoReset, value);
     waitObject = fe;
 }
Esempio n. 2
0
 /// <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);
 }
 /// <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);
 }