diff options
| author | rpj <rpj> | 2004-11-03 01:08:41 +0000 | 
|---|---|---|
| committer | rpj <rpj> | 2004-11-03 01:08:41 +0000 | 
| commit | ec8290acdaea21b16d98f1ef5d4ae8a28ab2109a (patch) | |
| tree | 0bd3750ec1cc12594b6cfe69473e393da6ec101b /ptw32_tkAssocCreate.c | |
| parent | cccaf0c2c82e78a72d69a4a50c872f308bed2f65 (diff) | |
Mutex, semaphore, thread ID, test suite changes - see ChangeLogs
Diffstat (limited to 'ptw32_tkAssocCreate.c')
| -rw-r--r-- | ptw32_tkAssocCreate.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/ptw32_tkAssocCreate.c b/ptw32_tkAssocCreate.c index c2a5c81..1e3e3e6 100644 --- a/ptw32_tkAssocCreate.c +++ b/ptw32_tkAssocCreate.c @@ -112,13 +112,13 @@ ptw32_tkAssocCreate (ThreadKeyAssoc ** assocP,    pthread_mutex_unlock (&(key->threadsLock)); -  if (thread != NULL) +  if (thread.p != NULL)      {        /*         * Register assoc with thread         */ -      assoc->nextKey = (ThreadKeyAssoc *) thread->keys; -      thread->keys = (void *) assoc; +      assoc->nextKey = (ThreadKeyAssoc *) ((ptw32_thread_t *)thread.p)->keys; +      ((ptw32_thread_t *)thread.p)->keys = (void *) assoc;      }    *assocP = assoc; | 
