Hi,
May I make a suggested addition to lib/thread.tcl?
In Thread_Start, around line 113, it would be most useful to have something like:
Thread_Send $id \
[list set pid [thread::id]]
So that each of the worker threads could access the parent's functionality.
Alternatively, could threadmgr have a command to send a script to the master_thread
for processing.
The problem I'm trying to solve is one in which I'm using a web interface to control a
single process, the process is maintained (in some sense) by the master thread, and so
it's necessary to have that master thread arbitrate between accesses by the worker
threads.
Which do you think is the better approach?
Colin.