|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | Invoke (Task completingTask) |
| void | Set () |
| void | Reset () |
| 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) |
| void | Dispose () |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Package Functions | |
| SetOnInvokeMres () | |
Properties | |
| bool | InvokeMayRunArbitraryCode [get] |
| WaitHandle | WaitHandle [get] |
| bool | IsSet [get, private set] |
| int | SpinCount [get, private set] |
| int | Waiters [get, set] |
Private Member Functions | |
| void | Initialize (bool initialState, int spinCount) |
| void | EnsureLockObjectCreated () |
| void | LazyInitializeEvent () |
| void | Set (bool duringCancellation) |
| void | ThrowIfDisposed () |
| void | UpdateStateAtomically (int newBits, int updateBitsMask) |
Static Private Member Functions | |
| static void | CancellationTokenCallback (object obj) |
| static int | ExtractStatePortionAndShiftRight (int state, int mask, int rightBitShiftCount) |
| static int | ExtractStatePortion (int state, int mask) |
Private Attributes | |
| volatile object | m_lock |
| volatile ManualResetEvent | m_eventObj |
| volatile int | m_combinedState |
Static Private Attributes | |
| static readonly Action< object > | s_cancellationTokenCallback = CancellationTokenCallback |