discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Piping to the USRP - mkfifo issue


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Piping to the USRP - mkfifo issue
Date: Fri, 01 Jul 2011 15:29:27 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

 That's what it should do.
But in practice, I've seen some blocks locking if their writes were blocked. That's why I suggested starting in this order.

The other issue is that if you have multiple FIFOs, then the only *reliable* mechanism for making it work is to have the *reader* open non-blocking, since the opening-order in the reader doesn't necessarily correspond to the order in the writer. So you end up with
  a kind of deadlock where neither process can make any progress.




--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]