Re: [PATCH 39/48] perf record: Move waking into struct record

From: Jiri Olsa
Date: Sun Sep 23 2018 - 15:36:06 EST


On Mon, Sep 17, 2018 at 08:31:31PM +0900, Namhyung Kim wrote:
> On Thu, Sep 13, 2018 at 02:54:41PM +0200, Jiri Olsa wrote:
> > We need to keep global number of 'waking' now.
> >
> > TODO: make this multiple threads safe.
>
> Why not using atomic APIs?

that would solve it, will check

thanks,
jirka