29 Aug
2023
29 Aug
'23
10:31 a.m.
Hmm, I'm having trouble following this. Is the intent here that if a thread's `exit_code` has already been set, it will only be overwritten in `terminate_process()` by a non-zero process exit code?
Yes, there are various race conditions when multiple threads terminate at the same time, and we want to make sure that failures are reported. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3648#note_43668