예제 #1
0
 public FastEventWH(bool autoReset, bool value)
 {
     fe         = new FastEvent(autoReset, value);
     waitObject = fe;
 }
예제 #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);
 }
예제 #3
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);
 }