From: <tcl...@tc...> - 2013-11-14 15:46:15
|
Repository: http://core.tcl.tk/tcl Change Notification For [fileevent writable starves bgerror] Ticket http://core.tcl.tk/tcl/tktview?name=ef34dd2457472b08cf6a42a7c8c26329e2cae715 Artifact http://core.tcl.tk/tcl/tinfo?name=94619b51a8c85390a6937cd1ea90f93c7ab41d23 On 2013-11-14T15:41:51 By pooryorick Changed Fields assignee: nobody closer: nobody comment: In the code below, both the readeble and writable event scripts are executed, but bgerror never runs because the queue is dominated by the fileevent events. ---- #! /bin/env tclsh proc handler {arg} { return -code error "an error!" } lassign [chan pipe] pipeout pipein set stdout [open |[list echo hello]] fileevent $pipein writable {apply {{} {}}} fileevent $stdout readable [list handler $stdout] vwait exit foundin: 8.6.1 is_private: 0 login: pooryorick priority: 5 Medium private_contact: de8592b799aee41baa90d5ffa003528d4b606ea0 resolution: None severity: Minor status: Open submitter: pooryorick subsystem: 04. Async Events title: fileevent writable starves bgerror type: Bug |