That's normal FIFO behaviour! From `man 3 mkfifo`:

> Opening a FIFO for reading normally blocks until some other process
opens  the  same  FIFO for writing, and vice versa. 

Remember, the GRC file is just converted to a Python program, in which
the different blocks are instantiated sequentially. Now, the problem
follows is that you can't even initialize the file source if the file
sink doesn't finish initializing, or the other way around, whichever
comes first.

Best regards,
Marcus

On Wed, 2018-06-20 at 10:52 +0000, Amirhosein naseri wrote:
> Hi everybody,
> 
> I have a simple GRC like this:
> 
> Signal Source ------> Throttle ------> File Sink
> File Source ------> Throttle -----> Qt Freq Sink
> 
> and i have a Piped File with mkfifo that GRC work with it. but when i run GRC 
> , it freezes ....... Why???
> 
> 
> Tnx??
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to