On 20/05/15 19:03, Namhyung Kim wrote:
> Using dso__data_fd() in multi-thread environment is not safe since
> returned fd can be closed and/or reused anytime. So convert it to the
> dso__data_get/put_fd() pair to protect the access with lock.
>
> The original dso__data_fd() is deprecated and kept
Using dso__data_fd() in multi-thread environment is not safe since
returned fd can be closed and/or reused anytime. So convert it to the
dso__data_get/put_fd() pair to protect the access with lock.
The original dso__data_fd() is deprecated and kept only for testing.
Cc: Adrian Hunter
Signed-off
2 matches
Mail list logo