I am writing a concurrent Tcl server using threads. I have
thread enabled Tcl core and thread extension 2.4. I am
1. Open a socket and create a thread .
2. transfer socket to the created thread.
3. Send "puts sockid abc; flush sockid" script to the
created thread. It crashes.
I do not know why? Could you please look into the
problem and write me back.
Here is my code
% socket localhost 35000
% load thread.dll
% ::thread::transfer 1304 sock460
% ::thread::send 1304 "puts sock460 line; flush