fixup! Use more atomics in rwlock code

40 jobs from wpk-fix-possible-data-races in 18 minutes and 57 seconds (queued for 3 seconds)
merge request
Status Job ID Name Coverage
  Precheck
passed #173185
linux amd64
🐞:sid:amd64

00:00:38

passed #173184
linux amd64
misc:sid:amd64

00:00:15

 
  Build
passed #173196
linux amd64
asan:sid:amd64

00:03:54

passed #173197
linux amd64
clang:stretch:amd64

00:02:28

passed #173198
linux i386
clang:stretch:i386

00:02:39

passed #173186
linux amd64
docs:sid:amd64

00:00:42

passed #173195
linux amd64
gcc:bionic:amd64

00:02:25

passed #173187
linux amd64
gcc:centos6:amd64

00:01:53

passed #173188
linux amd64
gcc:centos7:amd64

00:03:43

passed #173193
linux amd64
gcc:fedora29:amd64

00:02:07

passed #173189
linux amd64
gcc:jessie:amd64

00:01:46

passed #173191
linux amd64
gcc:sid:amd64

00:02:59

passed #173192
linux i386
gcc:sid:i386

00:04:09

passed #173190
linux amd64
gcc:stretch:amd64

00:03:30

passed #173194
linux amd64
gcc:xenial:amd64

00:01:13

passed #173199
linux amd64
pkcs11:sid:amd64

00:01:18

 
  Test
passed #173218
linux amd64
system:asan:sid:amd64

00:07:33

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

00:07:48

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

00:06:09

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

00:06:11

passed #173212
linux amd64
system:gcc:fedora29:amd64

00:06:55

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

00:06:13

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

00:06:54

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

00:06:44

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

00:06:18

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

00:07:44

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

00:06:22

passed #173219
linux amd64
unit:asan:sid:amd64

00:00:48

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

00:00:53

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

00:00:43

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

00:00:45

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

00:00:46

passed #173213
linux amd64
unit:gcc:fedora29:amd64

00:00:45

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

00:00:29

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

00:00:55

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

00:00:56

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

00:00:43

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

00:00:48

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

00:00:52

failed #173206
linux amd64
system:gcc:stretch:amd64

00:07:59