diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2022-01-17 12:55:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 12:55:41 +0100 |
commit | e43eb667b5e0cace1eef4b6f5898de83cde262c6 (patch) | |
tree | 2c9fc1a2ec1f790cd17fa03b54e229d0d47605d9 /docs/code/default-loop | |
parent | b5fa965bcb169f36ae58ebc35a48d85835f9756e (diff) | |
download | libuv-e43eb667b5e0cace1eef4b6f5898de83cde262c6.tar.gz libuv-e43eb667b5e0cace1eef4b6f5898de83cde262c6.zip |
bsd: ensure mutex is initialized (#3428)
The process title mutex was destroyed on library unload without ensuring
it was initialized - and it may not be because it's initialized lazily.
On most platforms it worked by accident because an "all zeroes" mutex is
synonymous with an initialized and unlocked mutex, but not on NetBSD.
Refs: https://github.com/libuv/libuv/pull/3286#issuecomment-1014058782
Diffstat (limited to 'docs/code/default-loop')
0 files changed, 0 insertions, 0 deletions