Hi!
I am designing a block, owning an inner object, and now both will need a
communication way. Since it's just one way, your buffer fulfills all my
need.
Do you think I should use a synchronisation object (e.g. mutex)?
The inner object could possibly have an own event processing loop, i.e. can
On Fri, Mar 02, 2007 at 02:22:50PM +0100, Dominik Auras wrote:
> Hi!
>
> Can I assume gr_buffer + gr_buffer_reader to be thread-safe?
>
> Regards
> Dominik
Hi Dominik,
It should be fine, though I don't think it's been tested in a
multi-threaded environment. It's single writer, multiple-reader,
Dominik Auras wrote:
> Can I assume gr_buffer + gr_buffer_reader to be thread-safe?
In the existing code, methods on these objects are only called by the
runtime scheduler from within a single thread, so there is no need for
thread safety.
The buffers between GNU Radio blocks are internal implem
Hi!
Can I assume gr_buffer + gr_buffer_reader to be thread-safe?
Regards
Dominik
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio