Xinliang David Li <davi...@google.com> writes:
>
> Process level synchronization problems can happen when two processes
> (running the instrumented binary) exit at the same time. The
> updated/merged counters from one process may be overwritten by another
> process -- this is true for both counter data and summary data.
> Solution 3) does not introduce any new problems.

You could just use lockf() ?

-Andi

Reply via email to