Re: [Discuss-gnuradio] pmt memory management

2014-02-24 Thread Miklos Maroti
Hi Tom, Thanks for the clarification. I will be very careful, I promise :) Miklos On Mon, Feb 24, 2014 at 4:15 PM, Tom Rondeau wrote: > On Sat, Feb 22, 2014 at 1:49 PM, Miklos Maroti > wrote: >> Hi Guys, >> >> Does copying a large pmt vector involve copying the underlying memory >> region or

Re: [Discuss-gnuradio] pmt memory management

2014-02-24 Thread Tom Rondeau
On Sat, Feb 22, 2014 at 1:49 PM, Miklos Maroti wrote: > Hi Guys, > > Does copying a large pmt vector involve copying the underlying memory > region or do they share a single copy (refcounted)? If the do share a > single memory area, then can one thread modify the data of the vector > and will it b

[Discuss-gnuradio] pmt memory management

2014-02-22 Thread Miklos Maroti
Hi Guys, Does copying a large pmt vector involve copying the underlying memory region or do they share a single copy (refcounted)? If the do share a single memory area, then can one thread modify the data of the vector and will it be visible to the other thread just like regular arrays? Miklos _