Skip to content
Tcl Source Code View Ticket
Login

View Ticket

std channels under threads broken

Closed / Invalid686897ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-02-15 01:44:18
package require Thread
set t [thread::create {puts "hi"; thread::wait}]

Where's my puts?  Why did the thread die?

Tcl_GetStdChannel(TCL_STDERR) exibits the same 
problem under threads.  It returns NULL.  I haven't traced 
it to where the problem is yet.  Something is terribly 
wrong.
davygrvyplain2003-02-15 09:48:52
Logged In: YES 
user_id=7549

The problem is happening in wish under windows.  Somehow 
the console widget's redirection to itself is getting bypassed.
davygrvyplain2003-02-15 10:09:44
Logged In: YES 
user_id=7549

This is a Tk bug...
Log in (anonymous is fine) to add a comment.