util/async: replace __thread with QEMU TLS macros
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 22 Feb 2022 14:01:48 +0000 (14:01 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 4 Mar 2022 17:14:40 +0000 (18:14 +0100)
commit47b74464565713208c218f115918bf760a528afb
tree458242aea8e0514e1fd0724c68b471c146588c6f
parent7d29c341c9d402cf0bcb3a3b76fce0c09dd24e94
util/async: replace __thread with QEMU TLS macros

QEMU TLS macros must be used to make TLS variables safe with coroutines.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220222140150.27240-3-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
util/async.c