Overview
| Artifact ID: | be9e100080c97ad481a3ca91dd7a25f0fdf69ca2 |
|---|---|
| Ticket: | 2891362fffffffffffffffffffffffffffffffff
child interp with time limit does not return with eval vwait |
| User & Date: | dkf on 2009-12-28 16:17:48 |
Changes
- icomment:
Examining with a debugger (I hate doing that!) I find that limits are being checked, and that if the -granularity limit option is set to 1 then it all works. The bug is therefore that, when doing a long-running operation, the ticker is preventing the trap from doing any good. (The issue is that Tcl_GetTime is relatively expensive as operations go; you don't want to be calling it frequently when running bytecode at speed. To see what I mean, [time] how long [::tcl::clock::seconds] takes; that's very close to a raw interface to the problem syscall.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"