16 Jul
2024
16 Jul
'24
9:03 a.m.
Rémi Bernon (@rbernon) commented about server/queue.c:
struct thread_input *input, *old_input; int ret;
+ if (thread_from->queue && thread_to->queue + && thread_from->queue->input == thread_to->queue->input) + { + thread_from->queue->attach_input_count++;
This assumes that the tid are always in the same order, what if the order is reversed? What if a third thread gets attached? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6093#note_76321