Differences From Artifact [e0f6230da9]:
- File unix/tclUnixThrd.c — part of check-in [bd718144bf] at 2012-06-08 13:00:01 on branch core-8-5-branch — 3530533 Centralize #include <pthread.h> in the tclUnixPort.h header so that old unix systems that need inclusion in all compilation units are supported. (user: dgp size: 20439) [more...]
To Artifact [479aec97fd]:
- File unix/tclUnixThrd.c — part of check-in [1dc6ea5ab2] at 2014-04-23 09:18:20 on branch bug-3493120 — *nix segfault cleared: we should reset a thread key after freeing of alloc cache (in tclUnixThrd.c) (user: sebres size: 20472) [more...]
| ︙ | ︙ | |||
810 811 812 813 814 815 816 817 818 819 820 821 822 823 |
{
if (ptr != NULL) {
/*
* Called by the pthread lib when a thread exits
*/
TclFreeAllocCache(ptr);
} else if (initialized) {
/*
* Called by us in TclFinalizeThreadAlloc() during the library
* finalization initiated from Tcl_Finalize()
*/
| > | 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 |
{
if (ptr != NULL) {
/*
* Called by the pthread lib when a thread exits
*/
TclFreeAllocCache(ptr);
pthread_setspecific(key, NULL);
} else if (initialized) {
/*
* Called by us in TclFinalizeThreadAlloc() during the library
* finalization initiated from Tcl_Finalize()
*/
|
| ︙ | ︙ |