Hi all!...I need an advise...as usual![]()
I want to use QShareData...
I create my class "DataStorage" let's say...and it contains a QSharedDataPointer<data_type> to some data that I need to be referenced in different threads let's say.
So now...when I want the implicit sharing of referenced data make work...When I reference ...should I create only the references of QSharedDataPointer<data_type> or references of QSharedData class that contains this DataPointer to make the implicit sharing work ?
I mean when I send this data using signal...should I use reference to QSharedData inheriting class or just reference to QSharedDataPointer<data_type> of this class ?
Thanks a LOT!![]()
Bookmarks