Overview
| Artifact ID: | b6b942cd36c31613e4da889e3c21a0ad9fb202b2 |
|---|---|
| Ticket: | 219255ffffffffffffffffffffffffffffffffff
Closing a pipe to a busy process blocks even when -blocking |
| User & Date: | dkf on 2014-11-03 17:44:09 |
Changes
- assignee changed to: "aku"
- closer changed to: "nobody"
- comment changed to:
OriginalBugID: 5924 Bug Version: 8.3.1 SubmitDate: '2000-06-20' LastModified: '2000-09-11' Severity: CRIT Status: Assigned Submitter: lfb ChangedBy: davidg RelatedBugIDs: 710 OS: Windows NT FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Closing a pipe to a busy process blocks on Windows even after you have turned blocking off on the channel. Try running this script in a tclsh on Windows: set pipe [open "| tclsh.exe doforever.tcl" r+] fconfigure $pipe -blocking 0 close $pipe Contents of doforever.tcl: while {1} {} Expected Result: The primary process closes the pipe and does not block. Actual Result: The primary process blocks. We discovered this problem in the Ajuba2 Server process pool. If we try to close the pipe to a busy interpreter, the server blocks. -- A related bug was fixed on the Unix side, but the Windows side uses a different sort of closedown functions. Has to be further investigated. -- 09/06/2000 hobbs - icomment: "Wasn't there something done in this area recently?"
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Remind"
- severity changed to: "Minor"
- title changed to:
Closing a pipe to a busy process blocks even when -blocking
- username: "dkf"