Convert global variables to atomic to prevent possible data race

66 jobs for !2355 with 1119-tsan-dispatch_test.c in 29 minutes and 23 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #348220
amd64 linux
🐞:sid:amd64

00:02:12

passed #348218
amd64 linux
autoreconf:sid:amd64

00:00:36

passed #348219
amd64 linux
misc:sid:amd64

00:00:22

 
  Build
passed #348232
amd64 linux
asan:sid:amd64

00:01:56

passed #348238
amd64 freebsd
clang:freebsd11.3:amd64

00:01:15

passed #348239
amd64 freebsd
clang:freebsd12.0:amd64

00:01:06

passed #348235
amd64 linux
clang:stretch:amd64

00:02:07

passed #348236
i386 linux
clang:stretch:i386

00:01:31

passed #348221
amd64 linux
gcc:alpine3.10:amd64

00:02:43

passed #348231
amd64 linux
gcc:bionic:amd64

00:02:25

passed #348226
i386 linux
gcc:buster:amd64

00:01:31

passed #348222
amd64 linux
gcc:centos6:amd64

00:02:09

passed #348223
amd64 linux
gcc:centos7:amd64

00:02:31

passed #348229
amd64 linux
gcc:fedora30:amd64

00:02:25

passed #348224
amd64 linux
gcc:jessie:amd64

00:01:27

passed #348227
amd64 linux
gcc:sid:amd64

00:01:36

passed #348228
i386 linux
gcc:sid:i386

00:01:37

passed #348225
amd64 linux
gcc:stretch:amd64

00:01:43

passed #348230
amd64 linux
gcc:xenial:amd64

00:01:24

passed #348241
amd64 windows
msvc:windows:amd64

00:02:18

passed #348234
amd64 linux
mutexatomics:sid:amd64

00:01:21

passed #348240
amd64 linux
nolibtool:sid:amd64

00:02:00

passed #348237
amd64 linux
pkcs11:sid:amd64

00:01:26

passed #348233
amd64 linux
rwlock:sid:amd64

00:01:36

 
  Unit
passed #348253
amd64 linux
unit:asan:sid:amd64

00:04:10

passed #348257
amd64 freebsd
unit:clang:freebsd11.3:amd64

00:00:25

passed #348258
amd64 freebsd
unit:clang:freebsd12.0:amd64

00:01:04

passed #348255
amd64 linux
unit:clang:stretch:amd64

00:00:43

passed #348242
amd64 linux
unit:gcc:alpine3.10:amd64

00:02:44

passed #348252
amd64 linux
unit:gcc:bionic:amd64

00:00:44

passed #348247
i386 linux
unit:gcc:buster:amd64

00:01:24

passed #348243
amd64 linux
unit:gcc:centos6:amd64

00:00:46

passed #348244
amd64 linux
unit:gcc:centos7:amd64

00:00:48

passed #348250
amd64 linux
unit:gcc:fedora30:amd64

00:01:23

passed #348245
amd64 linux
unit:gcc:jessie:amd64

00:00:30

passed #348248
amd64 linux
unit:gcc:sid:amd64

00:01:24

passed #348249
i386 linux
unit:gcc:sid:i386

00:01:48

passed #348246
amd64 linux
unit:gcc:stretch:amd64

00:00:44

passed #348251
amd64 linux
unit:gcc:xenial:amd64

00:00:56

passed #348259
amd64 linux
unit:nolibtool:sid:amd64

00:01:32

passed #348256
amd64 linux
unit:pkcs11:sid:amd64

00:01:25

passed #348254
amd64 linux
unit:rwlock:sid:amd64

00:01:20

 
  System
passed #348297
linux amd64
system:asan:sid:amd64

00:08:31

passed #348274
amd64 freebsd
system:clang:freebsd11.3:amd64

00:06:28

passed #348275
amd64 freebsd
system:clang:freebsd12.0:amd64

00:06:40

passed #348260
amd64 linux
system:gcc:alpine3.10:amd64

00:08:12

passed #348296
linux amd64
system:gcc:bionic:amd64

00:06:51

passed #348265
i386 linux
system:gcc:buster:amd64

00:07:34

passed #348261
amd64 linux
system:gcc:centos6:amd64

00:07:05

passed #348262
amd64 linux
system:gcc:centos7:amd64

00:06:52

passed #348268
amd64 linux
system:gcc:fedora30:amd64

00:07:46

passed #348298
amd64 linux
system:gcc:jessie:amd64

00:06:38

passed #348294
linux amd64
system:gcc:sid:amd64

00:06:43

passed #348267
i386 linux
system:gcc:sid:i386

00:07:44

passed #348264
amd64 linux
system:gcc:stretch:amd64

00:07:08

passed #348295
linux amd64
system:gcc:xenial:amd64

00:06:59

passed #348276
amd64 linux
system:nolibtool:sid:amd64

00:08:25

passed #348273
amd64 linux
system:pkcs11:sid:amd64

00:07:05

passed #348272
amd64 linux
system:rwlock:sid:amd64

00:08:15

failed #348271
amd64 linux
system:asan:sid:amd64

00:09:40

failed #348270
amd64 linux
system:gcc:bionic:amd64

00:08:04

failed #348293
linux amd64
system:gcc:jessie:amd64

00:07:30

failed #348263
amd64 linux
system:gcc:jessie:amd64

00:07:18

failed #348266
amd64 linux
system:gcc:sid:amd64

00:07:47

failed #348269
amd64 linux
system:gcc:xenial:amd64

00:07:15

 
  Docs
passed #348277
amd64 linux
docs:sid:amd64

00:01:06