<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - It's not safe to share wl_display fd with other threads."
href="https://bugs.freedesktop.org/show_bug.cgi?id=91273#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - It's not safe to share wl_display fd with other threads."
href="https://bugs.freedesktop.org/show_bug.cgi?id=91273">bug 91273</a>
from <span class="vcard"><a class="email" href="mailto:jadahl@gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>(In reply to Boram from <a href="show_bug.cgi?id=91273#c1">comment #1</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=117011" name="attach_117011" title="simple test application to reproduce this bug">attachment 117011</a> <a href="attachment.cgi?id=117011&action=edit" title="simple test application to reproduce this bug">[details]</a></span>
> simple test application to reproduce this bug</span >
It seems you are misusing the API; you are mixing wl_display_dispatch() with
wl_display_prepare_read() and friends. See the paragraph of multi threaded
environments in the API documentation:
<a href="http://wayland.freedesktop.org/docs/html/apb.html#Client-classwl__display_1a30a9c4f020f3e77581c7a81ecdb4913d">http://wayland.freedesktop.org/docs/html/apb.html#Client-classwl__display_1a30a9c4f020f3e77581c7a81ecdb4913d</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>