Overview
Artifact ID: | 595ee94dbc0929820759ded314162e38ecc7395b |
---|---|
Ticket: | ef34dd2457472b08cf6a42a7c8c26329e2cae715
fileevent writable starves bgerror |
User & Date: | pooryorick 2013-11-14 20:58:19 |
Changes
- comment changed to:
In the code below, both the readable 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
- login: "pooryorick"
- mimetype: "text/plain"