Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /tsd.c [951895] .. [a366b6] Maximize Restore

  Switch to side-by-side view

--- a/tsd.c
+++ b/tsd.c
@@ -160,7 +160,7 @@
 
                   pthread_mutex_unlock (&(assoc->lock));
 
-                  _pthread_tkAssocDestroy (assoc);
+                  ptw32_tkAssocDestroy (assoc);
 
                   assoc = next;
                 }
@@ -214,7 +214,7 @@
   pthread_t self;
   int result = 0;
 
-  if (key != _pthread_selfThreadKey)
+  if (key != ptw32_selfThreadKey)
     {
       /*
        * Using pthread_self will implicitly create
@@ -233,7 +233,7 @@
        * Resolve catch-22 of registering thread with threadSelf
        * key
        */
-      self = (pthread_t) pthread_getspecific (_pthread_selfThreadKey);
+      self = (pthread_t) pthread_getspecific (ptw32_elfThreadKey);
       if (self == NULL)
         {
           self = (pthread_t) value;
@@ -280,7 +280,7 @@
            */
 	  if (assoc == NULL)
 	    {
-	      result = _pthread_tkAssocCreate (&assoc, self, key);
+	      result = ptw32_tkAssocCreate (&assoc, self, key);
 	    }
         }