Threading in Wayland

Marek Chalupa mchqwerty at
Wed Jun 25 06:04:00 PDT 2014


I was recently discovering/playing with threading in Wayland. Here are some
notes and questions I gathered:

* display_thread variable in struct wl_display (wayland-client.c) is not
used anywhere
* pthread_cont_t cond in wl_event_queue is broadcasted/signaled but there's
no code waiting on it (already mentioned here:

The question is: am I missing something or are those bugs?

I also wrote some tests for it (,
and have more locally).

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list