[DiscordArchive] Hello i have question, is std::next calls safe for multithreading?
[DiscordArchive] Hello i have question, is std::next calls safe for multithreading?
Archived author: andriuspel • Posted: 2020-04-04T12:26:51.238000+00:00
Original source
Hello i have question, is std::next calls safe for multithreading?
Archived author: andriuspel • Posted: 2020-04-04T12:34:44.115000+00:00
Original source
nevermind... i will figure out
Archived author: andriuspel • Posted: 2020-04-04T13:01:16.786000+00:00
Original source
well, const interations mostly are thread safe, rest stl and non const iteration stuff mostly is not
Archived author: andriuspel • Posted: 2020-04-04T13:01:52.084000+00:00
Original source
if i got this correctly, std::next is just macro with std::advance which can make unhandled behavior too (as usual ++/-- incrementation)