Skip to content

WIP on port to Swift3 Dispatch API #434

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

Merged
merged 1 commit into from
Jul 13, 2016
Merged

WIP on port to Swift3 Dispatch API #434

merged 1 commit into from
Jul 13, 2016

Conversation

dgrove-oss
Copy link
Contributor

Swift code compiles against current master branch of Dispatch,
with Swift3 wrapping overlay, but doesn't link
(need to port dispatch_get_main_queue_eventfd_4CF
and dispatch_main_queue_drain_4CF from experimental/foundation
to master).

Note: this pull request is not ready to merge; posting just for documentation and to have it available
when we are ready to merge.

self._runOperation()
dispatch_semaphore_signal(sema)
sema.signal()
} else {
self._runOperation()
}
if let group = waitGroup {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The DispatchWorkItem API is going to change next week per discussion in swiftlang/swift-corelibs-libdispatch#100.

@parkera
Copy link
Contributor

parkera commented Jul 8, 2016

This all looks good to me - should I merge it or are we waiting on dispatch changes?

@dgrove-oss
Copy link
Contributor Author

I think we need to at least wait on the dispatch changes being merged. After that, I'm not sure what the next step is. After this is merged, the code won't build using the experimental/foundation branch of dispatch. So there may need to be some coordination with the CI environment, etc (maybe not a good thing to merge on a Friday afternoon ;) ) @seabaylea any thoughts on staging?

Swift code compiles against current master branch of Dispatch
with Swift3 wrapping overlay and CF runloop support from PR#101.
@dgrove-oss
Copy link
Contributor Author

Rebased with master as of last night and updated for the final cf runloop dispatch API that was merged yesterday to master in dispatch. You can merge this whenever you are ready to switch to the master branch of dispatch.

@parkera
Copy link
Contributor

parkera commented Jul 13, 2016

Great, I'll coordinate with @shahmishal and we'll get this going.

@shahmishal
Copy link
Member

@swift-ci please test

@parkera
Copy link
Contributor

parkera commented Jul 13, 2016

Let's do it!

@parkera parkera merged commit 0d9628a into swiftlang:master Jul 13, 2016
norio-nomura pushed a commit to norio-nomura/swift-corelibs-foundation that referenced this pull request Jul 21, 2016
Swift code compiles against current master branch of Dispatch
with Swift3 wrapping overlay and CF runloop support from PR#101.
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.

3 participants