|
2012-09-13
| ||
| 16:18 | • Closed ticket [3006957fff]: Script access to Tcl_CancelEval plus 3 other cha... artifact: 07d8de7612 user: vasiljevic | |
| 16:18 | • Ticket [3006957fff]: 4 changes artifact: 41aec9ac9c user: vasiljevic | |
|
2012-08-31
| ||
| 00:46 | • Ticket [3006957fff]: 4 changes artifact: d6fb5192db user: mistachkin | |
|
2012-08-30
| ||
| 23:54 | • Ticket [3006957fff]: 4 changes artifact: 468d00105c user: dgp | |
|
2010-05-26
| ||
| 00:23 | • Ticket [3006957fff]: 4 changes artifact: 7cb6068a3c user: vasiljevic | |
|
2010-05-25
| ||
| 16:16 | • New ticket [3006957fff]. artifact: 3357c3fc89 user: kjnash | |
Script access to Tcl_CancelEval
Closed / Accepted3006957fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 14 years ago
Descriptionplain2010-05-25 16:16:45
It would be useful to have a command
thread::cancel ?-unwind? thread_id ?interp_path?
that translates to the TIP #285 function implemented in Tcl 8.6
int Tcl_CancelEval(Tcl_Interp *interp, ClientData clientData, int flags)
and goes beyond "interp cancel" by allowing a script to cancel an interpreter in another thread.
vasiljevicplain2010-05-26 00:23:48
Indeed. I already have some plans to include this kind of functionality by using Tcl_AsyncMark mechanism that would be applicsblle to 8.4+ cores. I cannot give you any timing though. Cheers Zoran
dgpplain2012-08-30 23:54:18
I think this is done in Thread 2.7. If confirmed, this can be closed.
mistachkinplain2012-08-31 00:46:44
It looks like support was merged to Thread trunk in: http://core.tcl.tk/thread/info/f23bc2edae
vasiljevicplain2012-09-13 16:18:36
This is now implemented in trunk and will appear in 2.7 version of the extension. The syntax is: % thread::cancel wrong # args: should be "thread::cancel ?-unwind? id ?result?"
vasiljevic Closed ticket [3006957fff].
[History diff]2012-09-13 16:18:37
Log in (anonymous is fine) to add a comment.