Bugs item #2891362, was opened at 2009-11-03 17:16
Message generated for change (Comment added) made by ferrieux
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2891362&group_id=10894Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: 20. [interp]
Group: None
Status: Open
Resolution: None
Priority: 8
Private: No
Submitted By: Johannes13 (john13a)
Assigned to: Donal K. Fellows (dkf)
Summary: child interp with time limit does not return with eval vwait
Initial Comment:
I expect that a child interp returns after the time limit has been reached.
Short example (for tclsh)
interp create -safe test
test limit -seconds [clock add [clock seconds] 1 second]; test eval {vwait forever}
----------------------------------------------------------------------
>Comment By: Alexandre Ferrieux (ferrieux)
Date: 2009-11-04 15:34
Message:
Note that this limitation is documented in TIP #143:
"... (with a few exceptions relating to event loop handling.) ..."
Questions to dkf:
(1) any blocking syscall, not just select(), has the problem. For
select() we can solve the issue by forcing a suitable periodic wake-up (at
C level for performance, at script level as a quick fix for the OP), but do
we want that ?
(2) if the answer to (1) is Yes, is there a one-size-fits-all value for
the periodicity ? If not, maybe we'd need an extra script-level API to pass
this value ([interp limit -granularity] being only a subsampling of that),
so that (say) high-load apps could pass a longer select timeout...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2891362&group_id=10894------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Tcl-Bugs mailing list
Tcl-Bugs@...
https://lists.sourceforge.net/lists/listinfo/tcl-bugs