> This might work on x86 machines, but isn't safe on machines
> with weak memory ordering across processors (e.g., PPC, Itanium).
> You'd need to introduce architecture specific memory barriers.
>
> Can you put the mutex at a higher level (e.g., in the object that
> has the gr_oscope_guts)?
>
> Eric
>

Wow, I totally didn't think of this.  Yes, I can place the mutex
inside gr_oscope_f, outside of a 'for' loop that processes a block of
samples (hopefully a block greater than 1).

-Tom


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

Reply via email to