[PATCH libX11] Always initialise thread support

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Jul 12 14:33:40 PDT 2013


Daniel Stone, le Fri 12 Jul 2013 22:25:38 +0100, a écrit :
> Make XOpenDisplay always call XInitThreads when opening a display, thus
> guarding it against possible disaster scenarios like calling
> XOpenDisplay without XInitThreads, then passing the Display pointer into
> an EGL library which uses threads.  Or any of the other five similar
> failure scenarios I've seen just this week.

+1.  We have issues in accessibility toolkits just because they use
threads to be able to work and can't manage to get XInitThreads called
before the application initializes X11.

Samuel


More information about the xorg-devel mailing list