Feb. 16, 2024
5:18 p.m.
Jinoh Kang (@iamahuman) commented about server/thread.c:
/* send signal for system APCs if needed */ if (queue == &thread->system_apc && list_empty( queue ) && !is_in_apc_wait( thread )) { - if (!send_thread_signal( thread, SIGUSR1 )) return 0; + if (process && (candidate = find_thread_in_apc_wait( process )))
I think this will keep the test intact. Do you have any specific use case against this? ```suggestion:-0+0 if (thread != current && process && (candidate = find_thread_in_apc_wait( process ))) ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5091#note_61490