Threading in Wayland

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


Hi,

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:
http://lists.freedesktop.org/archives/wayland-devel/2014-April/014539.html)

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

I also wrote some tests for it (
http://lists.freedesktop.org/archives/wayland-devel/2014-June/015628.html,
and have more locally).

Thank you,
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140625/8005da6c/attachment.html>


More information about the wayland-devel mailing list