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 runloop source and observer functionality #130

Merged
merged 1 commit into from Nov 23, 2017

Conversation

@faern
Copy link
Contributor

faern commented Nov 23, 2017

I had the need to add a source (from SCDynamicStoreCreateRunLoopSource). And since all the add/contains/remove operations were fairly trivial I did not see any reason to not complete them for timers, sources and observers at the same time.

Also adding the CFRunLoopMode type alias to make the signatures reflect the original API a bit more.

Lastly, removing underscore from _info since it's actually used.


This change is Reviewable

@jdm
Copy link
Member

jdm commented Nov 23, 2017

@bors-servo
Copy link
Contributor

bors-servo commented Nov 23, 2017

📌 Commit 7468b45 has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Nov 23, 2017

Testing commit 7468b45 with merge a166cee...

bors-servo added a commit that referenced this pull request Nov 23, 2017
Add runloop source and observer functionality

I had the need to add a source (from `SCDynamicStoreCreateRunLoopSource`). And since all the add/contains/remove operations were fairly trivial I did not see any reason to not complete them for timers, sources and observers at the same time.

Also adding the `CFRunLoopMode` type alias to make the signatures reflect the original API a bit more.

Lastly, removing underscore from `_info` since it's actually used.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/130)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 23, 2017

☀️ Test successful - status-travis
Approved by: jdm
Pushing a166cee to master...

@bors-servo bors-servo merged commit 7468b45 into servo:master Nov 23, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@faern faern deleted the faern:runloop-source-and-observer branch Nov 23, 2017
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.