Home > other >  TCL wish to run, when multithreaded doesn't recognize the relevant code component, please look
TCL wish to run, when multithreaded doesn't recognize the relevant code component, please look

Time:09-28

Use wish to run (eclipse compiler environment)
The source code is as follows:
Package the require Thread
The set thread2 [thread: : create {
Puts "thread2 process start"
Proc start {} {
The - the text button "start test" -command {test}
The 510-350 - x y place
}
Thread: : wait
}]


Thread: : send - async $thread2 start [list]

The run times the following error:
Thread2 process start
the Error from the thread tid0000183C
Invalid command name "button"
While executing
"Button. The test - the text" start test "-command {test}"
(procedure "start" line 2)
Invoked from within
"Start"
  • Related