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?