Skip to content
Tcl Source Code Changes To Threads
Login

Changes To Threads

Changes to "Threads" between 2014-08-29 18:50:20 and 2014-08-29 19:32:38

︙
17
18
19
20
21
22
23
24
25
26
27












28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44


45
46
47
48
49
50
51
17
18
19
20
21
22
23


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

44





45
46
47
48
49
50
51
52
53
54
55
56
57







-
-


+
+
+
+
+
+
+
+
+
+
+
+






-

-
-
-
-
-




+
+







  *  <i>Tcl_CreateThread</i>
  *  <i>Tcl_ExitThread</i>
  *  <i>Tcl_GetCurrentThread</i>
  *  <i>Tcl_GetAllocMutex</i>

<h1>Private Interface</h1>
  *  TclThreadDataKeyGet
  *  TclRememberMutex
  *  TclRememberCondition
  *  TclFinalizeThreadData
  *  TclFinalizeSynchronization
  *  TclInitThreadStorage
  *  TclpThreadCreate
  *  TclpThreadExit
  *  TclpInitLock
  *  TclFinalizeLock
  *  TclpInitUnlock



<h1>Internal Interface</h1>
  *  TclRememberMutex
  *  TclRememberCondition
  *  TclJoinThread
  *  TclRememberJoinableThread
  *  TclSignalExitThread
  *  TclThreadStorageKeyGet
  *  TclThreadStorageKeySet
  *  TclFinalizeThreadDataThread
  *  TclInitThreadStorage
  *  TclFinalizeThreadStorage
  *  TclpThreadCreate
  *  TclpThreadExit
  *  TclpInitLock
  *  TclFinalizeLock
  *  TclpInitUnlock
  *  TclpMasterLock
  *  TclpMasterUnlock
  *  TclpFinalizeMutex
  *  TclpFinalizeCondition


  *  TclpReaddir
  *  TclpInetNtoa
  *  TclpNewAllocMutex
  *  TclpFreeAllocMutex
  *  TclpFreeAllocCache
  *  TclpGetAllocCache
  *  TclpSetAllocCache
︙
66
67
68
69
70
71
72
73
74
72
73
74
75
76
77
78
79









-

The boundaries of this module are a bit murky.  The routine <b>Tcl_GetCurrentThread</b>
is defined here, but documented as part of the [Notifier].  The routine <b>Tcl_ExitThread</b> is defined here, but documented alongside <b>Tcl_Exit</b> as part of [Event Loops].  The routine
<b>Tcl_GetAllocMutex</b> ought not be public at all (see [547989]).  The routine
<b>Tcl_CreateThread</b> pretty clearly ought to be here and is documented with the rest
of the [Threads] routines, but is actually found over in [/finfo?name=generic/tclEvent.c|tclEvent.c]
as part of [Event Loops].  Perhaps these can be tidied up.