Fix pipe reads; add tests for NtReadFile & pipes

This commit is contained in:
2025-10-05 23:24:50 -06:00
parent 85cf4a74c7
commit 01ed50c4b4
10 changed files with 304 additions and 31 deletions

View File

@@ -279,10 +279,10 @@ void WIN_ENTRY exit(int status) {
(*it)();
}
}
::exit(status);
::_exit(status);
}
void WIN_ENTRY _cexit(void) {
void WIN_ENTRY _cexit() {
HOST_CONTEXT_GUARD();
DEBUG_LOG("_cexit()\n");
TIB *tib = wibo::getThreadTibForHost();