Skip to content

Conversation

rpavlik
Copy link
Member

@rpavlik rpavlik commented Jun 18, 2015

Right now, when we get a new connection (or some other theoretical trigger for a hardware detect), we do it right then. This can cause weird things to happen, because it basically means our message handlers take a long time to complete. What we should be doing is instead setting a flag when a hardware detect is "triggered" and only actually doing that "between" mainloops.

This branch is work starting on it, almost done.

rpavlik added 7 commits May 14, 2015 11:15
I say "effective" because when somebody does a callControlled, the
main server thread is blocked and their thread resumes, but it's as-if
they were the server thread in terms of contention.
Things like hardware detect trigger on connection will get moved here
so we don't spend as much time in our message handlers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant