Hi!
> This is the first odd thing, and I believe the cause of the problem.
> Your source does not block until it receives something.
> Generally speaking, returning 0 is a bad idea.
>
> In the case of sources, you should block until you get something, then
> return whatever you got.
The source re
On Wed, Mar 07, 2007 at 11:29:19AM +0100, Dominik Auras wrote:
> Hi!
>
> I am encountering a problem with gr_head. For my testcase, I set up a
> flow graph:
>
> (...)
> tcp_src = qtblocks.tcp_source (gr.sizeof_char, "127.0.0.1", )
> head = gr.head(gr.sizeof_char, 4)
> vector_sink = gr.vector_
Hi!
I am encountering a problem with gr_head. For my testcase, I set up a
flow graph:
(...)
tcp_src = qtblocks.tcp_source (gr.sizeof_char, "127.0.0.1", )
head = gr.head(gr.sizeof_char, 4)
vector_sink = gr.vector_sink_b()
self.fg.connect (tcp_src, head, vector_sink)
(...)
The logging in the s