Thread (3 messages) 3 messages, 2 authors, 2022-01-04

Re: Lock problems in linux/tools/perf/util/dso.c

flat view

From: Namhyung Kim <namhyung@kernel.org>
Date: 2022-01-04 19:33:53
Also in: lkml

On Wed, Dec 29, 2021 at 6:42 PM Ryan Cai [off-list ref] wrote:
Hi, Namhyung,

1. Indeed, I got wrong here.
2. Yes, the branch should be if (pthread_mutex_lock(&dso__data_open_lock))
instead of if (pthread_mutex_lock(&dso__data_open_lock) < 0).

Could I send a patch?
Sure!

Thanks,
Namhyung
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help