diff options
author | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2022-08-30 16:29:55 +0200 |
---|---|---|
committer | Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io> | 2022-09-02 17:00:23 +0200 |
commit | 1c217ba6f746e8fe14b02a94d328c9899c1a5832 (patch) | |
tree | 3f6d8522db86be8dc532ae211b6bd14d17ea5685 /src/android | |
parent | aed7b5f3701ff51d088bc80c60b6bd4675a01077 (diff) |
TLS backend OpenSSL: Use function-static variable for symbol loading
Replace a combination of a mutex, atomic variable, and another variable
by a function-local variable initialized by lambda.
C++17 standard guarantees that the lambda is called only once and
that any other callers will waiting for initialization to complete.
Task-number: QTBUG-103559
Change-Id: If9af8584e648ddb9ec518498ce035105e52413a2
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions