diff options
author | Håvard Pettersen <havardpe@oath.com> | 2022-03-09 14:16:39 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2022-03-09 14:16:39 +0000 |
commit | 5e12330b28f93c1809c50f1120c8d79b47cb042c (patch) | |
tree | 7d502e554b19e41fe0689a25a05400bcff9a2b95 /screwdriver | |
parent | 4f46b3a7d1c084bc3627b3137be70d2ca48a538f (diff) |
fix tsan warnings
Portal code calls attach from the reactor thread, so most of these
warnings will not be relevant there. However, they indicate that we
need to be careful about creating the object that will get the
callback before creating the reactor token. Also, the token itself is
in need of synchronization (like any smart-ptr-like-thing) which makes
deleting it inside the call-back somewhat problematic unless there is
a lock or it was created in the reactor thread in the first place.
Diffstat (limited to 'screwdriver')
0 files changed, 0 insertions, 0 deletions