summaryrefslogtreecommitdiff
path: root/libs/rs/rsContext.h
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2011-01-07 15:11:30 -0800
committer Stephen Hines <srhines@google.com> 2011-01-09 17:04:18 -0800
commit1ac9da6717f27ecfd3c650bd1bfd84d336674dfc (patch)
tree7abaf2d1d3a7feecd14c39cf8531880157faf312 /libs/rs/rsContext.h
parente06c3a599f5d274ef7b1afa694ac2b1961f75aeb (diff)
Split time functions into rs_time.rsh header.
Change-Id: I598b0031d15749c91d11fbd37b075d0564a94dbf
Diffstat (limited to 'libs/rs/rsContext.h')
-rw-r--r--libs/rs/rsContext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsContext.h b/libs/rs/rsContext.h
index 3c402c42ea5a..df275bcab3f4 100644
--- a/libs/rs/rsContext.h
+++ b/libs/rs/rsContext.h
@@ -75,6 +75,8 @@ public:
static uint32_t gThreadTLSKeyCount;
static uint32_t gGLContextCount;
static pthread_mutex_t gInitMutex;
+ // Library mutex (for providing thread-safe calls from the runtime)
+ static pthread_mutex_t gLibMutex;
struct ScriptTLSStruct {
Context * mContext;