checkpoint filmstrip, implemented TLS.
diff --git a/rsContext.h b/rsContext.h
index 10b9a13..334ef3c 100644
--- a/rsContext.h
+++ b/rsContext.h
@@ -48,6 +48,12 @@
     Context(Device *, Surface *);
     ~Context();
 
+    static pthread_key_t gThreadTLSKey;
+    struct ScriptTLSStruct {
+        Context * mContext;
+        Script * mScript;
+    };
+
 
     //StructuredAllocationContext mStateAllocation;
     ElementState mStateElement;