CRYPTO_atomic_add(): check that the object is lock free
authorRichard Levitte <levitte@openssl.org>
Wed, 24 Aug 2016 07:14:44 +0000 (09:14 +0200)
committerMatt Caswell <matt@openssl.org>
Wed, 24 Aug 2016 13:37:48 +0000 (14:37 +0100)
commit1beca67688189f6542c7d08233c28e8fab73dba7
treed281e257a9cc10f98feb7cbc749a0465e4e4cb6e
parent11fc6c761165283f5aed9aed5edd65c1bb963e79
CRYPTO_atomic_add(): check that the object is lock free

If not, fall back to our own code, using the given mutex

Reviewed-by: Andy Polyakov <appro@openssl.org>
crypto/threads_pthread.c