[Xcb] pthread_cond_destroy valgrind warning

Uli Schlachter psychon at znc.in
Mon Mar 23 13:53:06 PDT 2015


Hi,

Am 23.03.2015 um 12:02 schrieb Joshua Rogers:
> Hi,
> 
> While using XOpenDisplay, valgrind(using DRD) warns about a
> non-conditional variable.
> Here is the warning: http://pastebin.com/DQELYrSa

That's a bug in valgrind. The conditional variable is initialized via
PTHREAD_COND_INITIALIZER (see wait_for_reply(), src/xcb_in.c:483) and so never
went through pthread_cond_init(). Possible, the condition variable was never
ever used at all.

Cheers,
Uli
-- 
"For saving the Earth.. and eating cheesecake!"


More information about the Xcb mailing list