From 4afe24808ee253c44c65b855f65bd0749c1e1524 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 17 Feb 2010 19:03:30 +0800 Subject: egl: Revisit global data locking. Lock the global mutex in _eglPreloadDrivers and _eglAllocScreenHandle. Add comments to why certain pathes do not need locking. --- src/egl/main/eglglobals.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/egl/main/eglglobals.h') diff --git a/src/egl/main/eglglobals.h b/src/egl/main/eglglobals.h index cd1dd5851b..4368898020 100644 --- a/src/egl/main/eglglobals.h +++ b/src/egl/main/eglglobals.h @@ -18,6 +18,7 @@ struct _egl_global EGLScreenMESA FreeScreenHandle; + /* these never change after preloading */ EGLint NumDrivers; _EGLDriver *Drivers[10]; -- cgit v1.2.3