<div dir="ltr"><div><div>Actually, this comment should be deleted, wl_display_dispatch() doesn't do anything like that since the wl_display_acquire_fd() was deleted. Or maybe better, it should be replaced with current behavior regarding threads, that is something like:<br><br></div>"This function can not be called simultaneously from more threads or together with wl_display_prepare_read() and wl_display_read_events() (unless the user manually serialize the calls using i.e. mutexes)<br><br></div><div>Nice catch,<br></div><div>Marek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 November 2014 03:43, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a guess as to what the correct reference is, please check!<br>
---<br>
src/wayland-client.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/wayland-client.c b/src/wayland-client.c<br>
index 21fc3e9..fb459a3 100644<br>
--- a/src/wayland-client.c<br>
+++ b/src/wayland-client.c<br>
@@ -1506,7 +1506,7 @@ wl_display_dispatch_queue_pending(struct wl_display *display,<br>
* wl_display_dispatch_pending().<br>
*<br>
* \note Calling this will release the display file descriptor if this<br>
- * thread acquired it using wl_display_acquire_fd().<br>
+ * thread acquired it using wl_display_prepare_read().<br>
*<br>
* \sa wl_display_dispatch_pending(), wl_display_dispatch_queue()<br>
*<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.7.9.5<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div></div>