Overview
| Artifact ID: | dbfe7c5383fb2f03c3584b6326cc7063a059c344 |
|---|---|
| Ticket: | 219255ffffffffffffffffffffffffffffffffff
Closing a pipe to a busy process blocks even when -blocking |
| User & Date: | nobody on 2000-10-26 05:04:13 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "obsolete: 8.3.1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "60. NRE and coroutines"
- title changed to:
Closing a pipe to a busy process blocks even when -blocking
- type changed to: "Bug"