Don't hold the xlib-xcb lock while sleeping: that allows deadlock.
authorJamey Sharp <jamey@minilop.net>
Sun, 28 Oct 2007 20:28:18 +0000 (13:28 -0700)
committerJamey Sharp <jamey@minilop.net>
Sun, 28 Oct 2007 20:28:18 +0000 (13:28 -0700)
With this patch, `ico -threads 2` runs without deadlock.

Many thanks to Christoph Pfister <christophpfister@gmail.com> for
pointing out the problem, providing detailed analyses, explaining it to
me repeatedly until I understood what was going on, and proposing and
reviewing possible solutions.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Acked-by: Christoph Pfister <christophpfister@gmail.com>

No differences found