D 2014-08-29T19:40:50.272
L Threads
P f79c9ab80f25b38c9147e8a165f89bf61d6f297e
U dgp
W 2378
Source Files
* [/finfo?name=generic/tclThread.c|tclThread.c]
* [/finfo?name=generic/tclThreadJoin.c|tclThreadJoin.c]
* [/finfo?name=generic/tclThreadStorage.c|tclThreadStorage.c]
* [/finfo?name=unix/tclUnixThrd.c|tclUnixThrd.c]
* [/finfo?name=win/tclWinThrd.c|tclWinThrd.c]
Public Interface
* Tcl_ConditionNotify
* Tcl_ConditionWait
* Tcl_ConditionFinalize
* Tcl_GetThreadData
* Tcl_MutexLock
* Tcl_MutexUnlock
* Tcl_MutexFinalize
* Tcl_JoinThread
* Tcl_CreateThread
* Tcl_ExitThread
* Tcl_GetCurrentThread
* Tcl_GetAllocMutex
Private Interface
* TclThreadDataKeyGet
* TclFinalizeThreadData
* TclFinalizeSynchronization
* TclInitThreadStorage
* TclpThreadCreate
* TclpThreadExit
* TclpInitLock
* TclFinalizeLock
* TclpInitUnlock
* TclpNewAllocMutex
* TclpFreeAllocMutex
* TclpFreeAllocCache
* TclpGetAllocCache
* TclpSetAllocCache
* TclpReaddir
* TclpInetNtoa
Internal Interface
* TclRememberMutex
* TclRememberCondition
* TclJoinThread
* TclRememberJoinableThread
* TclSignalExitThread
* TclThreadStorageKeyGet
* TclThreadStorageKeySet
* TclFinalizeThreadDataThread
* TclFinalizeThreadStorage
* TclpMasterLock
* TclpMasterUnlock
* TclpFinalizeMutex
* TclpFinalizeCondition
* TclpThreadCreateKey
* TclpThreadDeleteKey
* TclpThreadSetMasterTSD
* TclpThreadGetMasterTSD
Directly Depends On Public Interface
* [Allocation]
* [Event Loops]
* string.h
Directly Depends On Private Interface of
* [Allocation]
Discussion
The boundaries of this module are a bit murky. The routine Tcl_GetCurrentThread
is defined here, but documented as part of the [Notifier]. The routine Tcl_ExitThread is defined here, but documented alongside Tcl_Exit as part of [Event Loops]. The routine
Tcl_GetAllocMutex ought not be public at all (see [547989]). The routine
Tcl_CreateThread 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.
Z 2612fec62fbda242ecc1495c6fb9f6a9