svm: use standard function to reset stale mutex 62/30862/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 20 Jan 2021 18:10:59 +0000 (19:10 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Sun, 24 Jan 2021 02:36:16 +0000 (02:36 +0000)
commit78de92de0ddb5de67ceb70bd30ff6dfae345baf1
tree6a80cee7946065816fcf040befc71a866271daa3
parent2e4523816ca0e366a4f597a0e5fdb93fccc887a5
svm: use standard function to reset stale mutex

Avoid accessing the private data structure of mutexes which is
implementation-dependent, eg. musl is different from glibc.

Type: improvement

Change-Id: I20ec0c1c9faef0749d89a1969cd2430c80ac04b3
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/svm/svm.c