From: Jamey Sharp Date: Sun, 28 Oct 2007 20:28:18 +0000 (-0700) Subject: Don't hold the xlib-xcb lock while sleeping: that allows deadlock. X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a29fbc2645fabb96d02c382ffef499b48fb1514a;hp=a29fbc2645fabb96d02c382ffef499b48fb1514a;p=free-sw%2Fxcb%2Flibxcb Don't hold the xlib-xcb lock while sleeping: that allows deadlock. With this patch, `ico -threads 2` runs without deadlock. Many thanks to Christoph Pfister 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 Acked-by: Christoph Pfister ---