[Activetcl] help
by Yz Nk other posts by this author
May 23 2008 8:50AM messages near this date
view in the new Beta List Site
Re: [Activetcl] table and scrollbar issues
|
Re: [Activetcl] help
I create a TCL interp in a thread. And use Tcl_Eval to execute a script. But I want to
exit the thread when I click one button.
So I use the Tcl_Trace to set a trace proc and receive the button message. But I cannot exit
the TCL interp normally! In the Tcl_CreateTrace
doc, it shows:
"There is no way for the proc associated with a call to Tcl_CreateTrace to abort execution o
f command. "
I can only kill the thread directlly, but there mybe some memory leaks, for the interp is no
t freed with Tcl_InterpDelete.
How can I reach the target?
-------------------------------------------------------------------
�����þ��ʣ���������"�ҵĵ��� �ҵ�
��̨"( http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2008/mail_zhuiyu_200
80512.html )
-------------------------------------------------------------------
����2008�����ҵ����� �����ͼ�Ե����עï¿
½á£¨http://www.jiayuan.com/st/?id=3456&url=http://www.jiayuan.com/register/new_step_1.ph
p��
Thread:
Yz Nk
Jeff Hobbs
|