std::vector<bool> is not thread-safe
See https://en.cppreference.com/cpp/container/vector_bool: "Does not guarantee that different elements in the same container can be modified concurrently by different threads"). std::vector<T> for any other T is thread safe.
and this has been an issue with sanitizers and #3025.
It would be good to eventually get rid of all instances and replace them with std::vector<char> or std::vector<uint8_t>
std::vector<bool>is not thread-safeand this has been an issue with sanitizers and #3025.
It would be good to eventually get rid of all instances and replace them with
std::vector<char>orstd::vector<uint8_t>