Re: libudev-openbsd: fix sway exit

2023-11-11 Thread Landry Breuil
Le Fri, Nov 10, 2023 at 07:59:08PM +, Matthieu Herrb a écrit : > Hi, > > Currently the sway exit function (Cmd-E) is broken, there is a sway > process that stays around, stuck in pthread_join() for the udev > thread. > > The patch below cancels the thread before joining it and fixes the > iss

libudev-openbsd: fix sway exit

2023-11-10 Thread Matthieu Herrb
Hi, Currently the sway exit function (Cmd-E) is broken, there is a sway process that stays around, stuck in pthread_join() for the udev thread. The patch below cancels the thread before joining it and fixes the issue. (original code uses a pile to communicate and catches the poll() event that the