9 Feb
2026
9 Feb
'26
11:51 p.m.
The main thread needs to be running a CFRunLoop or NSRunLoop, but it's fine for it to be a Wine thread (i.e. have a TEB, and even have a roundtrip through PE code like this MR currently does). The PE roundtrip isn't mandatory, but does allow for crashes to be handled and means PE code is in the backtrace in case anticheats are looking for that. At least on macOS, there's other ways we could try to do the crash handling. I'll defer to Rémi's !10058 which is taking the non-PE route. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9579#note_129311