Overview
| Artifact ID: | 881f5301c2015c92488075f596a351a6c5ce89d8 |
|---|---|
| Ticket: | 2035893fffffffffffffffffffffffffffffffff
can NRE break limits and script cancellation? |
| User & Date: | msofer on 2009-05-12 22:43:16 |
Changes
- icomment:
The issue is: during cancellation every callback is run - necessary for cleanup. If a callback launches a new evaluation, it will not run (as the intrep is marked as being cancelled or beyond its limits). If a callback launches some long-running or cpu-eating C code ... cancellation is postponed until it returns! Not too different from what would happen if you try to cancel or pass a limit while running some C code. The one diff is: the first scenario will not cancel until a return to Tcl happens; in the new scenario Tcl thinks it has already cancelled before bad stuff happens. So the new problem is: we now have a new way for a C extension to refuse being cancelled!
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"