diff options
author | anton <> | 2022-04-03 16:52:50 +0000 |
---|---|---|
committer | anton <> | 2022-04-03 16:52:50 +0000 |
commit | 491cd486a581a71008b2ca3b70aeb7c2ef32b32b (patch) | |
tree | 7a7d446722df0be753992106ccaed79ee8205b5e /src/lib | |
parent | 8f38d7689ac702fcf8b05eeacbeec41d2e737624 (diff) | |
download | openbsd-491cd486a581a71008b2ca3b70aeb7c2ef32b32b.tar.gz openbsd-491cd486a581a71008b2ca3b70aeb7c2ef32b32b.tar.bz2 openbsd-491cd486a581a71008b2ca3b70aeb7c2ef32b32b.zip |
Initialize the mutex before making us of it from many threads. Prevents
a race in which one thread is currently initializing the mutex which is
not an atomic operation whereas another thread tries to use it too
early.
With and ok schwarze@
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions