ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> activetcl
activetcl
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved