> So how would you handle pointer to an object which is reference counted?
> Pointer to the same object may be being used at multiple places.

That's what the RefCountingPtr class is all about.  It is a "smart
pointer" and automatically increments and decrements the reference
counts on the object.

> I am facing some trouble with this. Should I post the code on the review
> board?
Sure.

  Nate
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to