On Thu, Jan 13, 2005 at 01:16:43PM -0700, Jim Prewett wrote:
> 
> 
> All,
> 
> I'm trying to make a list of open files containing several files, both 
> FIFOs and standard text files.
> 
> When I try to open a FIFO that has no input available, CMUCL hangs (19A).
> 
> Can someone tell me if this is a bug or a feature?

    Welcome to Unix country. This is a feature of your operating system.
 
> Here is my test code:
> 
> ;; there are 2 files
> ;; foo is a fifo created with mkfifo
> ;; bar is a standard (empty) text file
> (let ((fifo-filename "foo")
>        (std-filename "bar"))
>    (list
>     (open std-filename) ;; this open hangs if no input on the fifo
>     (open fifo-filename)) ;; this never(?) hangs
> 
> Thanks,
> Jim
> 
> James E. Prewett 
> Systems Team Leader                                              505.277.8210
> Designated Security Officer              [EMAIL PROTECTED] [EMAIL PROTECTED]
> HPC Systems Engineer III @ [EMAIL PROTECTED]           OpenPGP key: pub  
> 1024D/31816D93
> 
> 


Reply via email to