Comments (5)
Thanks for the heads-up — I actually did not notice the deprecation because I'm always using iOS 5 as deployment target, and it doesn't show up in that case. ;-)
Bah, it's a bummer that they're taking that method away. The idea was that it would always return in the same thread queue as the one it was being called from. Which will very probably be the main queue, you're right — but if not, it's a problem. I'll have to investigate this! Didn't find a nice solution from the first few minutes of googling. ;-)
from flox-objc.
I decided to use dispatch_get_main_queue
instead. I liked the old solution better, but let's just say that Apple will probably maybe have had a good reason to remove get_current_queue
.
from flox-objc.
Ok cool, so typically this might have been main_queue anyway? i wasn't sure if there were any internal uses of queues besides the io queue that could cause any deadlock issue if the main_queue was used explicitly.
from flox-objc.
Yes, this should always have been "main_queue", except if users called some Flox commands from different queues, which is unlikely. So I guess the change shouldn't be a problem.
from flox-objc.
That said: if turns out to cause any problems, we could always add an option to specify the queue people want their callbacks to be executed.
from flox-objc.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flox-objc.