Re: [PATCH 04/25] perf tools: Add reference counting for thread_map object

Jiri Olsa
2015-06-10T20:24:27Z

On Wed, Jun 10, 2015 at 04:08:25PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Wed, Jun 10, 2015 at 08:10:37PM +0200, Jiri Olsa escreveu:
> > Adding refference counting for thread_map object, so
> > it could be easily shared among other objects.
> >
> > Using thread_map__put instead thread_map__delete and making
> > thread_map__delete static.
>
> Please use atomic.h, as was done recently for the 'map', 'dso' and
> 'thread' structs, but other than that, its fine.

ook

jirka