vengi icon indicating copy to clipboard operation
vengi copied to clipboard

UI: Risk of data concurrency at WindowStack class

Open Lecrapouille opened this issue 3 years ago • 1 comments

I do not know about this project, just looking at the code.

In WindowStack.cpp is there no risk of data concurrency between the update() method iterating over elements and calling push()/pop during() the update iteration ?

Lecrapouille avatar Dec 28 '21 10:12 Lecrapouille

You are right - there is a potential problem - pop and push should be delayed and only executed in the update() method.

mgerhardy avatar Dec 30 '21 23:12 mgerhardy

this is now in vengi-archived and removed from this repository.

mgerhardy avatar Nov 07 '22 06:11 mgerhardy