https://bugs.freedesktop.org/show_bug.cgi?id=91273
--- Comment #6 from Pekka Paalanen <[email protected]> --- All libraries, including Mesa, need to be fixed to use the prepare_read/read_events API, because that is the only API we even think as thread-safe. I suppose it could be nice to file bugs per library, and add them here as blockers (or just references in case the library does not use fd.o bugzilla). Lazily written application can use the non-safe API just fine, when they are not threaded and assuming the libraries they use do not use the same wl_display object from other threads. The non-safe API was there first, so apps that don't require thread-safety have not been ported. Mixing non-safe and safe APIs is only dangerous if their use may overlap. If you only ever have a single thread, I believe these can be mixed safely if paying attention to the details. As for sharing the wl_display *file descriptor*, that is never intended to work. I mean, you cannot create multiple wl_displays from the same fd and expect that to work. I don't think anyone even tries to, just clarifying. Jonas' "proxy wrapper" is an attempt to solve one more threading issue. I still don't understand what you mean by "the kernel may not wake up the thread" if it refers to a different issue than the two mentioned above. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ wayland-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-bugs
