Skip to content
Tcl Source Code Update of ”Threads”
Login

Update of ”Threads”

Overview

Artifact ID: 0bef42a5669e72abb586413f20d1be3af5ea9763
Page Name:Threads
Date: 2014-08-29 19:46:23
Original User: dgp
Parent: 3672c818d6766f4c6d5aa0f2ff59db0502ee8b29 (diff)
Next 1c8c6d24eea53d78fe8786b2f917a4e3b7928fe9
Content

Source Files

Public Interface

Private Interface

Internal Interface

Directly Depends On Public Interface

Directly Depends On Private Interface of

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 tclEvent.c as part of Event Loops. Perhaps these can be tidied up.

The routines TclpReaddirand TclpInetNtoa only exist at all for the sake of stubs compatibility with extensions originally built against rather old (arguably buggy) tclUnixPort.h files. They definitely ought not survive into Tcl 9.