Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
bool | Unregister (WaitHandle waitObject) |
object | GetLifetimeService () |
virtual object | InitializeLifetimeService () |
Protected Member Functions | |
MarshalByRefObject | MemberwiseClone (bool cloneIdentity) |
Package Functions | |
void | SetNativeRegisteredWaitHandle (IntPtr nativeRegisteredWaitHandle) |
void | OnBeforeRegister () |
RegisteredWaitHandle (WaitHandle waitHandle, _ThreadPoolWaitOrTimerCallback callbackHelper, int millisecondsTimeout, bool repeating) | |
void | RestartTimeout () |
void | PerformCallback (bool timedOut) |
void | RequestCallback () |
void | OnRemoveWait () |
void | WaitForCallbacks () |
void | WaitForRemoval () |
Properties | |
_ThreadPoolWaitOrTimerCallback | Callback [get] |
SafeWaitHandle | Handle [get] |
int | TimeoutTimeMs [get, private set] |
int | TimeoutDurationMs [get] |
bool | IsInfiniteTimeout [get] |
bool | Repeating [get] |
SafeWaitHandle? | UserUnregisterWaitHandle [get, set] |
IntPtr | UserUnregisterWaitHandleValue [get, set] |
static IntPtr | InvalidHandleValue [get] |
bool | IsBlocking [get] |
PortableThreadPool.? WaitThread | WaitThread [get, set] |
Private Member Functions | |
~RegisteredWaitHandle () | |
static void | WaitHandleCleanupNative (IntPtr handle) |
static bool | UnregisterWaitNative (IntPtr handle, SafeHandle waitObject) |
bool | UnregisterPortable (WaitHandle waitObject) |
void | SignalUserWaitHandle () |
void | CompleteCallbackRequest () |
Static Private Member Functions | |
static bool | IsValidHandle (IntPtr handle) |
static AutoResetEvent | RentEvent () |
static void | ReturnEvent (AutoResetEvent resetEvent) |
Static Private Attributes | |
static AutoResetEvent | s_cachedEvent |
static readonly LowLevelLock | s_callbackLock = new LowLevelLock() |
Definition at line 9 of file RegisteredWaitHandle.cs.