CygPerl hangs opening FIFO after fork (in both parent&child)
Linda Walsh
cygwin@tlinx.org
Thu Jun 22 21:35:00 GMT 2006
The attached test case is simple and fairly short. It does not
depend on File::BOM (and has none of the code from it).
It's only dependency (other than perl) is the POSIX module,
where, from, the "fifo" command is taken.
Conceptually, it is simple:
- Create fifo (works)
- Fork (works)
- Open fifo for communication between parent and child (FAILS)
(if successful, try to pass a short message, from child to
parent, parent validates, then both processes exit)
---------
Both the child and the parent hang on the "open".
Fork by itself works.
Fifo communication, by itself, works.
Is this a simple enough test case?
Linda
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bad.pl
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060622/10e72b51/attachment.pl>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list