Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
CountdownEvent (int initialCount) | |
void | Dispose () |
bool | Signal () |
bool | Signal (int signalCount) |
void | AddCount () |
bool | TryAddCount () |
void | AddCount (int signalCount) |
bool | TryAddCount (int signalCount) |
void | Reset () |
void | Reset (int count) |
void | Wait () |
void | Wait (CancellationToken cancellationToken) |
bool | Wait (TimeSpan timeout) |
bool | Wait (TimeSpan timeout, CancellationToken cancellationToken) |
bool | Wait (int millisecondsTimeout) |
bool | Wait (int millisecondsTimeout, CancellationToken cancellationToken) |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Properties | |
int | CurrentCount [get] |
int | InitialCount [get] |
bool | IsSet [get] |
WaitHandle | WaitHandle [get] |
Private Member Functions | |
void | ThrowIfDisposed () |
Private Attributes | |
int | _initialCount |
volatile int | _currentCount |
readonly ManualResetEventSlim | _event |
volatile bool | _disposed |
Definition at line 7 of file CountdownEvent.cs.