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

Possible delay processing hardware events in Javascript #225

Open
jugglingcats opened this issue Mar 10, 2017 · 0 comments
Open

Possible delay processing hardware events in Javascript #225

jugglingcats opened this issue Mar 10, 2017 · 0 comments

Comments

@jugglingcats
Copy link

This is not an issue as such, just checking an assumption...

Because events are handled in Javascript and therefore subject to the node event loop and GC, we assume there is always a possible delay between event happening and Javascript handler executing, either because of a badly behaved script (eg. a Javascript timer that does significant work on each tick), or unexpected full GC in v8 itself.

Is this something the team has considered/experienced, and do you have any thoughts on it? It would obviously cause issues for any safety related functions that need to respond in a deterministic timeframe to an event.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant