Update to 8.5.19

This commit is contained in:
Zachary Ware
2017-11-24 17:50:39 -06:00
parent 49cac229de
commit 9651fde681
557 changed files with 20338 additions and 26391 deletions

View File

@@ -135,7 +135,7 @@ AllocThreadStorageEntry(
hPtr = (Tcl_HashEntry *) TclpSysAlloc(sizeof(Tcl_HashEntry), 0);
hPtr->key.oneWordValue = keyPtr;
hPtr->clientData = NULL;
return hPtr;
}
@@ -170,7 +170,7 @@ FreeThreadStorageEntry(
* ThreadStorageGetHashTable --
*
* This procedure returns a hash table pointer to be used for thread
* storage for the specified thread.
* storage for the specified thread.
*
* Results:
* A hash table pointer for the specified thread, or NULL if the hash
@@ -182,8 +182,8 @@ FreeThreadStorageEntry(
*
* Thread safety:
* This function assumes that integer operations are safe (atomic)
* on all (currently) supported Tcl platforms. Hence there are
* places where shared integer arithmetic is done w/o protective locks.
* on all (currently) supported Tcl platforms. Hence there are
* places where shared integer arithmetic is done w/o protective locks.
*
*----------------------------------------------------------------------
*/
@@ -205,12 +205,12 @@ ThreadStorageGetHashTable(
* Thread safety: threadStorageCache is accessed w/o locks in order to
* avoid serialization of all threads at this hot-spot. It is safe to
* do this here because (threadStorageCache[index].id != id) test below
* should be atomic on all (currently) supported platforms and there
* should be atomic on all (currently) supported platforms and there
* are no devastatig side effects of the test.
*
* Note Valgrind users: this place will show up as a race-condition in
* helgrind-tool output. To silence this warnings, define VALGRIND
* symbol at compilation time.
* symbol at compilation time.
*/
#if !defined(VALGRIND)