/// <summary> /// Wake the thread from an alertable state. /// </summary> public void Alert() { NtSystemCalls.NtAlertThread(Handle).ToNtException(); }
/// <summary> /// Wake the thread from an alertable state. /// </summary> /// <param name="throw_on_error">True to throw on error.</param> /// <returns>The NT status code.</returns> public NtStatus Alert(bool throw_on_error) { return(NtSystemCalls.NtAlertThread(Handle).ToNtException(throw_on_error)); }