Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Multiple AnimatedTurtles do not execute in expected order #5

Open
battis opened this issue Apr 21, 2021 · 0 comments
Open

Multiple AnimatedTurtles do not execute in expected order #5

battis opened this issue Apr 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@battis
Copy link
Member

battis commented Apr 21, 2021

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?

@battis battis added the enhancement New feature or request label Apr 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant