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)
latest merge request
Status Job ID Name Coverage
  Precheck
passed #173185
amd64 linux
🐞:sid:amd64

00:00:38

passed #173184
amd64 linux
misc:sid:amd64

00:00:15

 
  Build
passed #173196
amd64 linux
asan:sid:amd64

00:03:54

passed #173197
amd64 linux
clang:stretch:amd64

00:02:28

passed #173198
i386 linux
clang:stretch:i386

00:02:39

passed #173186
amd64 linux
docs:sid:amd64

00:00:42

passed #173195
amd64 linux
gcc:bionic:amd64

00:02:25

passed #173187
amd64 linux
gcc:centos6:amd64

00:01:53

passed #173188
amd64 linux
gcc:centos7:amd64

00:03:43

passed #173193
amd64 linux
gcc:fedora29:amd64

00:02:07

passed #173189
amd64 linux
gcc:jessie:amd64

00:01:46

passed #173191
amd64 linux
gcc:sid:amd64

00:02:59

passed #173192
i386 linux
gcc:sid:i386

00:04:09

passed #173190
amd64 linux
gcc:stretch:amd64

00:03:30

passed #173194
amd64 linux
gcc:xenial:amd64

00:01:13

passed #173199
amd64 linux
pkcs11:sid:amd64

00:01:18

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

00:07:33

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

00:07:48

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

00:06:09

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

00:06:11

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

00:06:55

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

00:06:13

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

00:06:54

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

00:06:44

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

00:06:18

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

00:07:44

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

00:06:22

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

00:00:48

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

00:00:53

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

00:00:43

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

00:00:45

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

00:00:46

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

00:00:45

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

00:00:29

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

00:00:55

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

00:00:56

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

00:00:43

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

00:00:48

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

00:00:52

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

00:07:59