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

Resolve missing Grand Central Dispatch support on Linux. #1

Closed
timburks opened this issue Oct 25, 2016 · 3 comments
Closed

Resolve missing Grand Central Dispatch support on Linux. #1

timburks opened this issue Oct 25, 2016 · 3 comments
Labels
kind/enhancement Improvements to existing feature.

Comments

@timburks
Copy link
Member

Linux builds are currently broken by dependency on Grand Central Dispatch libraries. We need to revise this or find an implementation of GCD that we can use.

@timburks timburks changed the title Linux builds need Grand Central Dispatch support. Resolve missing Grand Central Dispatch support on Linux. Oct 25, 2016
@timburks timburks added the kind/enhancement Improvements to existing feature. label Oct 25, 2016
@johndpope
Copy link
Contributor

You want libdispatch / GCD
this may help

rm -rf swift-corelibs-libdispatch
git clone -b experimental/foundation http://github.com/apple/swift-corelibs-libdispatch
cd swift-corelibs-libdispatch
git submodule init
git submodule update
cd ..

https://gist.github.com/romainmenke/506a4b0858c22f10e2598517b978f8c7

@timburks
Copy link
Member Author

I heard from Carl Brown at IBM that the changes that we need are in Swift 3 and it appears that the initial Linux examples work with swift-3.0.1-RELEASE-ubuntu16.04.

@timburks
Copy link
Member Author

This commit updates the simple Client and Server in the Packages directory to synchronize client and server threads with NSCondition variables. The result appears to run correctly on Linux.

MrMage pushed a commit that referenced this issue Feb 19, 2019
* Proposal to fix #362.
Allows user to setup a channel with a client certificate and key but still use default root certificates.

* fix #362. Respect PR critique. make roots_pem() public. Update Channel init.

* fix #362: make roots_pem() return force-unwrapped String. Change Channel API accordingly.

* Remove an obsolete comment.

* Minor whitespace tweak #1

* Minor whitespace tweak #2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements to existing feature.
Projects
None yet
Development

No branches or pull requests

2 participants