You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
Multiple AnimatedTurtles do not execute in expected order #5
If multiple AnimatedTurtles are added to the program and given instructions, they do not execute the instructions in the anticipated order: the order in which they were given. That is, if I tell turtles 0-100 to perform a 10 step process in order, I expect to see the turtles performing those 10 steps in sequence, with the turtles potentially lagging behind each other in sequence or executing simultaneously.
Instead, there seems to be no way to predict which turtle will execute in which order.
Perhaps rather than a separate thread per Turtle, there should be a master queue that all the Turtles pull from?
If multiple AnimatedTurtles are added to the program and given instructions, they do not execute the instructions in the anticipated order: the order in which they were given. That is, if I tell turtles 0-100 to perform a 10 step process in order, I expect to see the turtles performing those 10 steps in sequence, with the turtles potentially lagging behind each other in sequence or executing simultaneously.
Instead, there seems to be no way to predict which turtle will execute in which order.
Perhaps rather than a separate thread per Turtle, there should be a master queue that all the Turtles pull from?