<div dir="ltr"><div>I just sent a patch that fixes the deadlock.<br><br></div>Marek<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 24, 2018 at 4:40 PM, Marek Olšák <span dir="ltr"><<a href="mailto:maraeo@gmail.com" target="_blank">maraeo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><div class="gmail_quote">On Wed, Apr 18, 2018 at 6:11 AM, Nicolai Hähnle <span dir="ltr"><<a href="mailto:nhaehnle@gmail.com" target="_blank">nhaehnle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">How can this possibly deadlock? Is this during process exit, like in the case where we got a deadlock when LLVM called abort()?<br></blockquote><div><br></div></div></span>No. It deadlocks at the start. All threads are waiting on the barrier. The barrier should unblock all threads, but it doesn't.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">Marek<br></div></font></span></div>
</blockquote></div><br></div>