[Top][All Lists]

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

Re: [Discuss-gnuradio] Pipe Tricks

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] Pipe Tricks
Date: Wed, 6 Apr 2005 11:53:53 -0700
User-agent: Mutt/1.5.6i

On Wed, Apr 06, 2005 at 11:28:18AM -0400, James Cooley wrote:
> I had a similar thing.... I was using sockets, but then got it to work.
> Are you sure the fd is staying in scope for the duration of the run?
> -jamie


Jamie has it right.  Most likely the pipf_fd was going out of scope,
and then was being closed.  That's why in my orignal message I used
something like self.pipe_fd = open("/pipe", "r").  You need to hold a
reference to the return value of open for the duration of the run.


reply via email to

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