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

Add a main thread waker #28

Merged
merged 2 commits into from Jul 24, 2019
Merged

Add a main thread waker #28

merged 2 commits into from Jul 24, 2019

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Jul 24, 2019

This PR adds a callback which can be called from any process to wake up the main thead. It's needed because of servo embeddings like glutin, where the main thread can be blocked waiting for UI events, and not listening for events from servo.

@asajeffrey
Copy link
Member Author

asajeffrey commented Jul 24, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Jul 24, 2019

📌 Commit f6eed01 has been approved by asajeffrey

bors-servo added a commit that referenced this pull request Jul 24, 2019
Add a main thread waker

This PR adds a callback which can be called from any process to wake up the main thead. It's needed because of servo embeddings like glutin, where the main thread can be blocked waiting for UI events, and not listening for events from servo.
@bors-servo
Copy link
Contributor

bors-servo commented Jul 24, 2019

Testing commit f6eed01 with merge 0418277...

@bors-servo
Copy link
Contributor

bors-servo commented Jul 24, 2019

☀️ Test successful - checks-travis
Approved by: asajeffrey
Pushing 0418277 to master...

@bors-servo bors-servo merged commit f6eed01 into servo:master Jul 24, 2019
3 checks passed
3 checks passed
Travis CI - Pull Request Build Passed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.