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: |
902eab8ec8e95ce2acde8110fda3321c |
| 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
Modified ChangeLog
from [1732d5f85d]
to [9036088967].
[diff]
Modified doc/CrtChannel.3
from [4fc7dd3fb2]
to [4faeb7f301].
[diff]
Modified generic/tcl.decls
from [080a6e24c6]
to [2f4af6eb73].
[diff]
Modified generic/tclDecls.h
from [ac1a444f0d]
to [d035f6da4e].
[diff]
Modified generic/tclIO.c
from [eb6580f553]
to [e9c0f275d3].
[diff]
Modified generic/tclIO.h
from [d9dcda1d1b]
to [b813ac5c0f].
[diff]
Modified generic/tclStubInit.c
from [ef0941085d]
to [95528947cc].
[diff]
Modified generic/tclTest.c
from [5b2ccb525a]
to [0e0adbaba0].
[diff]
Modified tests/io.test
from [2c1adc0df1]
to [0bd6112bcc].
[diff]
Modified unix/mkLinks
from [db853b7fad]
to [cc9877df2c].
[diff]