<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I was recently discovering/playing with threading in Wayland. Here are some notes and questions I gathered:<br><br></div>* display_thread variable in struct wl_display (wayland-client.c) is not used anywhere<br>


</div>* pthread_cont_t cond in wl_event_queue is broadcasted/signaled but there's no code waiting on it (already mentioned here: <a href="http://lists.freedesktop.org/archives/wayland-devel/2014-April/014539.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2014-April/014539.html</a>)<br>


<br>The question is: am I missing something or are those bugs?<br><br>I also wrote some tests for it (<a href="http://lists.freedesktop.org/archives/wayland-devel/2014-June/015628.html" target="_blank">http://lists.freedesktop.org/archives/wayland-devel/2014-June/015628.html</a>,  and have more locally).<br>

<br></div><div>Thank you,<br></div><div>Marek<br></div></div>