[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Freeze when writing to linux fifo pipe
From: |
Marcus D. Leech |
Subject: |
Re: [Discuss-gnuradio] Freeze when writing to linux fifo pipe |
Date: |
Wed, 21 Apr 2010 23:30:32 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 |
On 04/21/2010 11:26 PM, Eric Blossom wrote:
> On Tue, Apr 20, 2010 at 02:57:04PM +0200, Joachim Roop wrote:
>
>> Hi,
>> I am trying to write to a linux pipe/fifo, but sadly this seems to freeze
>> python. I am using Ubuntu 10.04 and gnuradio 3.2.2.dfsg-1ubuntu1.
>> Please try to execute the code and tell me why this makes the app pause.
>>
> $ man 3 mkfifo
>
> Opening a fifo for reading blocks until there is a writer and vice versa...
>
> Eric
>
>
>
Actually, an open for read will *always* succeed, lest you create
unpleasant deadlock situations...
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org