Menu

#84 Stderr not defined in Thread_Start

open
nobody
Threading (5)
5
2006-03-07
2006-03-07
Anonymous
No

Small bug in thread.tcl in Thread_Start proc...
in 3.5x releases...

Was

proc Thread_Start {} {
global auto_path tcl_library
set id [Thread_Create]
Thread_Send $id \ {Stderr "Thread starting."}
...........

Should be

proc Thread_Start {} {
global auto_path tcl_library
set id [Thread_Create]
Thread_Send $id \ {catch {puts stderr "Thread starting."}}
.............

Discussion


Log in to post a comment.