Re: [PATCH] client: use the thread reader_count to fix deadlock.

2016-04-12 Thread Daniel Stone
Hi Boram, On 8 April 2016 at 00:58, Boram Park wrote: > This patch solves the deadlock issue of the below scenario. > > 1. A thread polls several fds including the wayland's fd. > 2. This thread probably calls wl_display_prepare_read() before polling > fds. > 3. This thread could be aw

[PATCH] client: use the thread reader_count to fix deadlock.

2016-04-12 Thread Boram Park
This patch solves the deadlock issue of the below scenario. 1. A thread polls several fds including the wayland's fd. 2. This thread probably calls wl_display_prepare_read() before polling fds. 3. This thread could be awake by other event source which isn't related with wayland fd.