duemunk / Async

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch
MIT License
4.59k stars 316 forks source link

Linux support #111

Closed Ponyboy47 closed 7 years ago

Ponyboy47 commented 7 years ago

Async cannot work without Dispatch being imported on it, also, some of the qos features don't work on linux as well

Ponyboy47 commented 7 years ago

Anyone who runs into issues with this supporting linux should check out my fork. It compiles/runs on linux and has a few additional features that I felt were missing, such as Synchronous support as well. And my code is organized a little better (multiple small files instead of one massive file)

https://github.com/Ponyboy47/Async

duemunk commented 7 years ago

Why didn't you make a pull request for this repo?

Ponyboy47 commented 7 years ago

In my fork I removed Carthage and Cocoapods junk since I wasn't using any of it and I don't want to create a pull request here since that would remove that support here as well

Ponyboy47 commented 7 years ago

I could make one if you'd like for me to just so you could see everything I did? Functionality is still the same despite all that I've done. I really just didn't want to squash Carthage/Cocoapods

Also, I changed the travis build config to build for both OS X and linux, which breaks the code coverage stuff in yours. And tests are broken on linux because of missing QoS stuff in swift's linux implementation.