commit | c3d36949e559e08e9e57787a9d6ce336ef2cf54d | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Mon Jul 22 09:58:36 2024 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Mon Jul 22 10:00:19 2024 +0000 |
tree | c631a225daf5a877895bcc6b08e4893d710134b9 | |
parent | 9b7ed4945b4ff8248898d304160f3ae40b6dbe7a [diff] |
unix_task_runner: Annotate race condition reported by TSAN `created_thread_id_` should be written by one thread only, but can be read by multiple threads, so let's make it atomic. The unittest is updated to cover the race under TSAN. Change-Id: I5b2fcd7f148897409838ec823a695cf2c8f5f755
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.