Skip to content
Tcl Source Code Check-in [902eab8ec8]
Login

Check-in [902eab8ec8]

Overview
Comment:2001-03-30 Andreas Kupries <[email protected]> * All of the changes below belong to TIP #10 [Tcl I/O Enhancement: Thread-Aware Channels]. See also [Patch #403358] at SF. * generic/tclIO.h (struct ChannelState, line 236f): Extended the structure with a new field of type 'Tcl_ThreadId' to hold the id of the thread currently managing all channels with this state. Note: This structure is shared by all channels in a stack of transformations. * generic/tclIO.c (Tcl_CreateChannel, lines 1058-1065): Modified to store the Id of the current thread in the 'ChannelState' of the new channel. * generic/tclIO.c (Tcl_SpliceChannel, lines 2265-2270): Modified in the same manner as 'Tcl_CreateChannel' as the channel will be managed by the current thread afterward. * generic/tclIO.c (Tcl_GetChannelThread, lines 1478-1503): * generic/tcl.decls (Tcl_GetChannelThread, lines 1504-1506): New API function to retrieve the Id of the managing thread from a channel. Implementation and declaration. * generic/tclTest.c (TestChannelCmd, lines 4520-4532): Added subcommand 'mthread' to query a channel about its managing thread.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 902eab8ec8e95ce2acde8110fda3321c5e487336
User & Date: andreas_kupries on 2001-03-30 23:06:39.000
Other Links: manifest | tags
Context
2001-03-30
23:45
* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support. check-in: 9ec54cf62e user: hobbs tags: trunk
23:06
2001-03-30 Andreas Kupries <[email protected]> * All of the changes below be... check-in: 902eab8ec8 user: andreas_kupries tags: trunk
00:56
doc fixes check-in: a11a4f6eaf user: hobbs tags: trunk
Changes