summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-27 09:46:54 -0400
committerLioncash <mathew1800@gmail.com>2019-05-27 09:46:57 -0400
commitab2adfb0a76e4e46a08f632cfb0525c40e7731f4 (patch)
tree24f4f9439168bec3f4f1fda1d201fa71493136f1 /Source/Core/InputCommon/ControllerInterface
parentb15f595130c22c595464707a372132fc8e7ea72b (diff)
Common/HttpRequest: Simplify cURL initialization
std::call_once is guaranteed to execute the given callable object exactly once. This guarantee holds even if the function is called concurrently from several threads. Given that, we can replace the mutex and boolean flag with std::call_once and a std::once_flag to perform the same behavior.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
0 files changed, 0 insertions, 0 deletions