9 Feb
2026
9 Feb
'26
10:37 a.m.
On Mon Feb 9 10:36:59 2026 +0000, Torge Matthies wrote:
If I understand this correctly, this means that `pgrep -x ShooterGame.exe` does not return the application's main thread as a pid anymore, rather the real main thread is the second thread of the process. Might be of note for any tool messing with e.g. thread priorities / io prio or sampling, etc. Though I'm not at all opposed to this change. Yes, that's already the case on macOS, and it would be the case everywhere. Still, fwiw I think the unix main thread would be useful for some extra purposes, I ambition to use it for window surface presentation, but we could also imagine scheduling async I/O there, etc...
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10058#note_129164