graphic: 0.858 performance: 0.799 device: 0.793 debug: 0.562 files: 0.551 vnc: 0.511 boot: 0.434 semantic: 0.428 TCG: 0.398 ppc: 0.386 permissions: 0.385 i386: 0.373 PID: 0.319 arm: 0.296 risc-v: 0.268 x86: 0.251 architecture: 0.234 register: 0.144 socket: 0.127 mistranslation: 0.126 user-level: 0.095 virtual: 0.089 VMM: 0.085 hypervisor: 0.079 network: 0.073 peripherals: 0.060 assembly: 0.026 KVM: 0.020 kernel: 0.017 Data race with state field of ThreadPoolElement Description of problem: A data race in the access of `ThreadPoolElement` state field in `util/thread-pool.c` was identified using TSAN. Steps to reproduce: ```sh QEMU_BUILD_DIR= QEMU_DIR= configure --enable-tsan --cc=clang --cxx=clang++ --enable-trace-backends=ust --enable-fdt=system --disable-slirp make tests/unit/test-thread-pool MALLOC_PERTURB_=111 G_TEST_SRCDIR=$QEMU_BUILD_DIR/tests/unit G_TEST_BUILDDIR=$QEMU_BUILD_DIR/tests/unit $QEMU_BUILD_DIR/tests/unit/test-thread-pool --tap -k ```