[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #1454: process-wait does not function corrently with
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #1454: process-wait does not function corrently with nohang on Windows |
Date: |
Mon, 23 Apr 2018 13:23:30 -0000 |
#1454: process-wait does not function corrently with nohang on Windows
----------------------------+--------------------------------
Reporter: jrobbins | Owner:
Type: defect | Status: new
Priority: major | Milestone: someday
Component: core libraries | Version: 4.13.0
Keywords: | Estimated difficulty: trivial
----------------------------+--------------------------------
On Windows, if you specify #t to nohang when calling process-wait, and the
process is still running, you will get an error with a bogus error
message. This is because process-wait uses WaitForSingleObject on Windows,
and the result code WAIT_TIMEOUT is not handled, being treated as an error
even though there was never an error in the first place. Attached is a
patch to fix this bug.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1454>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-janitors] #1454: process-wait does not function corrently with nohang on Windows,
Chicken Trac <=