Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5a292507a522ae26a5a69839f8fea7946e01e5f3
Ticket: 2895565fffffffffffffffffffffffffffffffff
Busyloop in vwait in innocent HTTP code
User & Date: ferrieux on 2009-11-10 23:02:12
Changes

  1. assignee changed to: "ferrieux"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    As reported in http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/thread/6deca54954e61cfd/94ab3376153994d0?rnum=1&_done=%2Fgroup%2Fcomp.lang.tcl%2Fbrowse_frm%2Fthread%2F6deca54954e61cfd%2F432b7b5576b7ec5c%3F#doc_19398a625d24ac4d 
    
    In 8.5 HEAD:
    
        set file_id [open myfile.html w] 
        http::geturl http://www.yahoo.com -channel $file_id \ 
            -blocksize 4096 -timeout 60000 
        close $file_id 
    
    This code, in addition to only downloading an incomplete file, busyloops during the whole timeout.
    It seems the 0-millisecond timer at line 7978 of TclIO.c fires repeatedly.
    
  4. foundin changed to: "obsolete: 8.5.7"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "ferrieux"
  10. subsystem changed to: "02. Event Loops"
  11. title changed to: "Busyloop in vwait in innocent HTTP code"
  12. type changed to: "Bug"