discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] why the prototype of pmt_t is intrusive_ptr


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] why the prototype of pmt_t is intrusive_ptr
Date: Wed, 19 Apr 2017 15:50:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

That was done for performance reasons, so that the refcount and the
object are close together, if I remember correctly.

You can of course write your own pmt_t alternative, or change GNU
Radio's source code, but I'd argue that would probably be quite some work.

Why do you ask?

Best regards,

Marcus


On 04/19/2017 03:41 PM, hutiankun wrote:
> Hi,
> why the prototype of pmt_t is intrusive_ptr? Is it possible to change
> it to shared_ptr?
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




reply via email to

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