[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fifo
From: |
Mike Miller |
Subject: |
Re: fifo |
Date: |
Thu, 6 Jun 2013 10:23:01 -0400 |
On Thu, Jun 6, 2013 at 01:56:59 -0700, MrOba wrote:
> I try to open it with
> octave:11> fid = fopen("tfifo", "w")
>
> as result I have nothing.. no prompt, just the cursor.. I have to quit
> octave with CTRL-C.
> any idea about what's wrong?
The open call is blocking. This is the correct behavior for fifos, see
for example
http://manpages.ubuntu.com/manpages/raring/en/man7/fifo.7.html
If Octave is opening the fifo for writing, the open call will block
until another process has the fifo open for reading.
--
mike