summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadStorage.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-04 10:10:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2015-10-04 10:10:58 (GMT)
commit5cfe99ddfef51d700eee80c9f766fab9c458038e (patch)
treef6c4f80405ef3ebc4592a31b77060bd6b7cdae8c /generic/tclThreadStorage.c
parent03a3a2d78e1c26683170d32685d3f4d3b9ed902d (diff)
downloadtcl-5cfe99ddfef51d700eee80c9f766fab9c458038e.zip
tcl-5cfe99ddfef51d700eee80c9f766fab9c458038e.tar.gz
tcl-5cfe99ddfef51d700eee80c9f766fab9c458038e.tar.bz2
Eliminate unnessessary end-of-line spacing. No functional change.
Diffstat (limited to 'generic/tclThreadStorage.c')
-rw-r--r--generic/tclThreadStorage.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclThreadStorage.c b/generic/tclThreadStorage.c
index f1df888..1578b40 100644
--- a/generic/tclThreadStorage.c
+++ b/generic/tclThreadStorage.c
@@ -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)