Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Hello i have question, is std::next calls safe for multithreading?

[DiscordArchive] Hello i have question, is std::next calls safe for multithreading?

[DiscordArchive] Hello i have question, is std::next calls safe for multithreading?

rektbyfaith
Administrator
0
04-04-2020, 12:26 PM
#1
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?
rektbyfaith
04-04-2020, 12:26 PM #1

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?

rektbyfaith
Administrator
0
04-04-2020, 12:34 PM
#2
Archived author: andriuspel • Posted: 2020-04-04T12:34:44.115000+00:00
Original source

nevermind... i will figure out
rektbyfaith
04-04-2020, 12:34 PM #2

Archived author: andriuspel • Posted: 2020-04-04T12:34:44.115000+00:00
Original source

nevermind... i will figure out

rektbyfaith
Administrator
0
04-04-2020, 01:01 PM
#3
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
rektbyfaith
04-04-2020, 01:01 PM #3

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

rektbyfaith
Administrator
0
04-04-2020, 01:01 PM
#4
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)
rektbyfaith
04-04-2020, 01:01 PM #4

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)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)