Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b9b40b7c0a941d49fd2b82f02964bc0a3e06f178
Ticket: 2891362fffffffffffffffffffffffffffffffff
child interp with time limit does not return with eval vwait
User & Date: ferrieux on 2009-11-04 21:34:33
Changes

  1. icomment:
    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...
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"