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

Waker optimisation #215

Merged
merged 5 commits into from
Jul 3, 2019
Merged

Waker optimisation #215

merged 5 commits into from
Jul 3, 2019

Conversation

Thomasdezeeuw
Copy link
Owner

No description provided.

Previously each call to Waker.wake would also wake up the OsQueue
instance, but this wasn't needed. Using a simple boolean we keep track
of whether or not we need to wake up a call to poll.
Moves the public functions and constants to the top of the file. Also moves THREAD_IDS into the init_waker function.
@Thomasdezeeuw Thomasdezeeuw merged commit 6cf54b4 into master Jul 3, 2019
@Thomasdezeeuw Thomasdezeeuw deleted the waker-optimisation branch July 3, 2019 10:31
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

Successfully merging this pull request may close these issues.

1 participant