On Thu Nov 30 22:06:12 2023 +0000, Marc-Aurel Zent wrote:
If I am not mistaken unix_tid should always be set currently on both the init_first_thread and init_thread requests (and set_thread_info can only be used with an already fully initialized thread). Later on the mach port right to the target process is also needed, but the tracing mechanism is already initialized at that point in time. I guess https://gitlab.winehq.org/wine/wine/-/merge_requests/4551/diffs?commit_id=02... can be just dropped then, unless I am overlooking something here.
Looks like it indeed. The code might have changed since these patches were written, and I don't remember in which case this happened.