Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite callback loop with NOTGates #3

Open
ThenTech opened this issue Sep 25, 2016 · 0 comments
Open

Infinite callback loop with NOTGates #3

ThenTech opened this issue Sep 25, 2016 · 0 comments

Comments

@ThenTech
Copy link
Owner

When creating and connecting an odd pair of NOTGates together, they will keep looping in the emit() chain, as their state will always be different after a tick() event.
This will cause the ScottyCPU to stall.

As this could happen with any chained components containing NOTGates, avoiding it could prove cumbersome.

@ThenTech ThenTech changed the title Infinite callback loop Infinite callback loop with NOTGates Sep 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant