Path: utzoo!mnetor!tmsoft!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!linus!linus!mbunix.mitre.org!pbt From: pbt@mbunix.mitre.org (Taylor) Newsgroups: comp.lang.perl Subject: need help with blocking i/o Keywords: blocking i/o, ioctl, fcntl Message-ID: <1991Feb7.215436.1714@linus.mitre.org> Date: 7 Feb 91 21:54:36 GMT Sender: Porter Taylor (pbt@mbunix.mitre.org) Organization: The MITRE Corp., Bedford MA Lines: 23 Nntp-Posting-Host: mbunix.mitre.org I have created a named pipe (FIFO) I would like a perl program to read from. I would like the program to block on an attempted read when the pipe is empty. How can I do this? I presume the right usage of ioctl or fcntl will do it, but I have not hit the right combination. Please e-mail your answer to me. Many thanks! ================================================================ Porter B. Taylor Phone: 617-271-3286 MailStop: K319 E-mail: pbtaylor@mdf.mitre.org MITRE Burlington Rd. Bedford, MA 01730 ================================================================ -- ================================================================ Porter B. Taylor Phone: 617-271-3286 MailStop: K319 E-mail: pbtaylor@mdf.mitre.org MITRE Burlington Rd. Bedford, MA 01730 ================================================================