aboutsummaryrefslogtreecommitdiffstats
path: root/net-android.c
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-01-11 10:49:55 -0800
committerJesse Hall <jessehall@google.com>2012-01-11 10:49:55 -0800
commit7851751670aa7b6e4cb153ea7c16185f8759cc4e (patch)
treec9f6989240439e14dc0b808cc73750df7556a14e /net-android.c
parent762d5decf0eaa766e69ecd94f4349be53dedd767 (diff)
downloadexternal_qemu-7851751670aa7b6e4cb153ea7c16185f8759cc4e.zip
external_qemu-7851751670aa7b6e4cb153ea7c16185f8759cc4e.tar.gz
external_qemu-7851751670aa7b6e4cb153ea7c16185f8759cc4e.tar.bz2
SDL: Call XInitThreads() after loading Xlib
XInitThreads() enables thread-safety in Xlib, so multiple threads can safely call into it concurrently. This happens with GLES passthrough enabled: the GLES system serializes its own Xlib and GLX calls, but there is no serialization between the GLES system and the SDL code running the main UI. This call must be the first Xlib call, so I put it here in the loading code rather than the multiple places that call XOpenDisplay(). Change-Id: I3cd3177fb8e0904a803a6b5c8f89a4ecda73bd1c
Diffstat (limited to 'net-android.c')
0 files changed, 0 insertions, 0 deletions