Code running simultaneously?

KanakemitHacke
Tue, 26 Jan 2021 15:09:56 +0000
C++

Hey everyone,

I have a graph that I parse and have to mark parsed nodes. For this I would just set a bool IsParsed to true and “clean” afterwards and set to false.

But all players can call the function to parse the graph every tick, can this cause problems because everybody accesses the graph at the same time and messes with the IsParsed or will they parse one after another?

Thanks in advance.

1 post - 1 participant