std::lock_guard and std::unique_lock do not work with ABSL_GUARD_XXX variants and for that we need our own wrappers. Furthermore, even if helio doesn't use those guards right now, they might be useful in the future so I add them here and enable -Wthread-safety for clang
std::lock_guard
andstd::unique_lock
do not work withABSL_GUARD_XXX
variants and for that we need our own wrappers. Furthermore, even if helio doesn't use those guards right now, they might be useful in the future so I add them here and enable-Wthread-safety
for clang