Dear all,
I was able to do it…
Here is the latest patch… I think this idea is applicable elsewhere
( other places ref counting is done… )
– cheerio atul
atul wrote:
Dear all
While browsing thru the code I found these two small refactorings…. Thanks to the tests as they told me where I went wrong ;-)
P.S. I, very much wanted to use qAtomicDetach in
Packet::invalidateHeader(). Elevating Packet::Data to a class status would let us use it… but, opinions vary - CHUCKLE ;-)— cheerio atul
