mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-19 01:58:16 +02:00
Since the Xlib multithreaded code checks the flags variable in _XFlushInt to see if the other threads are done yet, it has to be marked volatile so the compiler doesn't optimize out re-loading it on each trip through the while loop and end up in an impossible-to-exit infinite loop of CPU chewing. Part of fix for Sun bug 6409332: infinite loop in XFlushInt() on x86/32-bit <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6409332> Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> |
||
|---|---|---|
| .. | ||
| X11 | ||
| Makefile.am | ||