TLS key cleanup.

This commit is contained in:
Camilla Berglund
2013-05-02 16:48:11 +02:00
parent 6b7f5671f8
commit 4a2a00766c
6 changed files with 31 additions and 33 deletions
+5 -1
View File
@@ -55,7 +55,11 @@ typedef struct _GLFWcontextNSGL
typedef struct _GLFWlibraryNSGL
{
// dlopen handle for dynamically loading OpenGL extension entry points
void* framework;
void* framework;
// TLS key for per-thread current context/window
pthread_key_t current;
} _GLFWlibraryNSGL;