On Wed Jun 26 02:25:49 2024 +0000, Brendan McGrath wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/5923/diffs?diff_id=119523&start_sha=0b13d8f7c93d01315f1a32524118ae2cbf149494#d19138de09a66cf3bcf4e698b2f5c81e9daf14a2_597_573)
Good idea, then if we need different APIs for different platforms, it can all be done in `server/thread.c`.
I've changed it so `init_gstreamer_proc` now calls `NtQueryInformationProcess` with `ProcessAffinityMask` to calculate the thread_count (and pass it to `wg_init_gstreamer`).