1. I know that I can only use Tk in a single thread of a
multi-threaded app. Does it matter which thread it is,
i.e., if Tk is NOT running in the main thread is it OK to
invoke it in a thread created using thread::create?
(I've tried it; it appears to work; I just need to know
whether it will cause me problems in the long run.)
2. When I invoke Tk using [package require Tk] in a
thread created using thread::create, it appears that I have
to call [vwait] or [thread::wait] explicitly at the end of
the thread startup script, or I don't enter the event loop.
Is this expected behavior?
Thanks very much!
Athena Development Lead -- Jet Propulsion Laboratory
"It's amazing what you can do with the right tools."