Tcl Source Code

View Ticket
Login
Ticket UUID: 219359
Title: "stdout" Tcl_Channel not shared among threads on Windows
Type: Bug Created on: 2000-10-26 05:11:25
Submitter: nobody Assigned to: nobody
Subsystem: 49. Threading Severity:
Priority: 5 Medium Last modified: 2001-04-26 07:38:46
Status: Closed Closed by: davygrvy
Resolution: Works For Me Closed on: 2001-04-26 00:38:46
Version: obsolete: 8.4a1
Description:
OriginalBugID: 5872 Bug
Version: 8.4a1
SubmitDate: '2000-06-12'
LastModified: '2000-09-06'
Severity: SER
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 2000
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
David Gravereaux

CVS:
updated June 7

Comments:
Phil Ehrens <[email protected]> says it works on Solaris.
    
    >I'm not getting it.  gcc-2.95.2, tcl8.4a1 tk8.4a1 Solaris 2.7:
    >
    >pehrens@maasim ~/tmp:>>wish
    >% set tk_version
    >8.4
    >%
    >% set tk_patchLevel 
    >8.4a1
    >% 
    >% package require Thread
    >2.0
    >% set thread [ thread::create ]
    >5
    >% thread::send $thread {puts something}
    >something
    >%

ReproducibleScript:
"Dionisios Pothos" <[email protected]> spotted this.

% set tk_patchLevel
8.4a1
% package require Thread 2.0
2.0
% set id [thread::create]
1192
% thread::send $id {puts something}
error writing "stdout": bad file number
User Comments:
davygrvy added on 2001-04-26 07:38:46:
Logged In: YES 
user_id=7549

works fine in 8.4a3.  Andreas K. might have fixed this with 
his channel transfer mods.