Closed TheNathannator closed 1 year ago
DS4 output thread:
WaitForMultipleObjects
FALSE
GetOverlappedResult
ERROR_OPERATION_ABORTED
_DBGPRINT:
_malloca
malloc
+ 2
+ sizeof(WCHAR)
Other:
.vscode/
to_hex
DS4 output thread:
WaitForMultipleObjects
to check the status of both the thread abort and overlapped events, prevents deadlocking when disposing clientFALSE
instead of 0 when checkingGetOverlappedResult
returnERROR_OPERATION_ABORTED
fromGetOverlappedResult
to indicate IO cancellationGetOverlappedResult
_DBGPRINT:
_malloca
to standardmalloc
because the structured exception handling for it is not great lol+ 2
to+ sizeof(WCHAR)
Other:
.vscode/
folder to .gitignoreto_hex
about signed/unsigned mismatch in comparison