Am 17.01.2023 um 14:52 hat Emanuele Giuseppe Esposito geschrieben: > This serie aims to enable clang Thread Safety Analysis (TSA) in QEMU. > The goal is to use it for our multiqueue project aiming to replace the > block layer AioContext lock with a rwlock and make sure the lock is taken > correctly everywhere [1]. > > By default, TSA covers pthread mutexes, therefore when added in QEMU it > immediately detects some wrappers using pthread_mutex_lock/unlock without > using the proper TSA macros. Since adding such macro requires scanning all > possible callers of the affected wrapper, simply use TSA_NO_TSA to suppress > the warnings. > > [1] = https://lists.gnu.org/archive/html/qemu-devel/2022-12/msg00903.html
Thanks, changed the commit messages as discussed and applied to my block branch. Kevin