Skip to content
Tcl Source Code View Ticket
Login

View Ticket

"stdout" Tcl_Channel not shared among threads on Windows

Closed / Works For Me219359ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:11:25
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
davygrvyplain2001-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.
Log in (anonymous is fine) to add a comment.