diff options
author | rpj <rpj> | 2003-05-15 06:15:57 +0000 |
---|---|---|
committer | rpj <rpj> | 2003-05-15 06:15:57 +0000 |
commit | 4b79461c03e0dd4656c1ad4fdca4344fb2cd1b19 (patch) | |
tree | 79f50ddd95908fd2adbb5b4954d6dbcd8b565c2e /ChangeLog | |
parent | 47c236236b027b25fb91feedcd0015d290eb8db2 (diff) |
Fixed memory leaks caused by destructors calling pthreads routines at thread exit.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +2003-05-15 Steven Reddie <Steven.Reddie@ca.com> + + * pthread_win32_attach_detach_np.c (pthread_win32_process_detach_np): + NULLify ptw32_selfThreadKey after the thread is destroyed, otherwise + destructors calling pthreads routines might resurrect it again, creating + memory leaks. Call the underlying Win32 Tls routine directly rather than + pthread_setspecific(). + (pthread_win32_thread_detach_np): Likewise. + 2003-05-14 Viv <vcotirlea@hotmail.com> * pthread.dsp: Change /MT compile flag to /MD. |