Add commentary about lock usage in provider_core.c
authorMatt Caswell <matt@openssl.org>
Mon, 30 Aug 2021 14:33:07 +0000 (15:33 +0100)
committerPauli <pauli@openssl.org>
Tue, 31 Aug 2021 10:44:16 +0000 (20:44 +1000)
commit03c137de971354b7c2e00f0198e85446ead6cfc3
tree36e03a3ff3206e383835786118bf5846f6adcfce
parentc7468c17d7090492c266492ffa4ccf5baf93ffc4
Add commentary about lock usage in provider_core.c

Provide some guidelines, as well as some rules for using the locks in
provider_core.c, in order to avoid the introduction of deadlocks.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16469)
crypto/provider_core.c