Grand Central Dispatch (GCD) provides a simple and robust mechanism for concurrent and asynchronous operations, primarily in Apple operating systems (e.g., iOS, macOS, watchOS, and tvOS), but also FreeBSD and MidnightBSD.
I'm using the Kiwi testing framework to test an authentication method in my app. The test freezes at a call …
objective-c multithreading cocoa-touch grand-central-dispatchGrand Central Dispatch is great and reduces the amount of code but why I cannot run something on a background …
multithreading asynchronous background grand-central-dispatch performselectorI'm reading the docs on dispatch queues for GCD, and in it they say that the queues are FIFO, so …
iphone ios grand-central-dispatchThis is related to my previous question, but different enough that I figured I'd throw it into a new one. …
objective-c grand-central-dispatch sentestingkitI was going through the tutorial : https://www.raywenderlich.com/148513/grand-central-dispatch-tutorial-swift-3-part-1 And came across the definition of QoS class …
ios swift grand-central-dispatch qos dispatch-queueI have a few unit tests in which I'd like to test if a callback is called on the correct …
swift grand-central-dispatch swift3In C++11 there are a bunch of new Random number generator engines and distribution functions. Are they thread safe? If …
c++ thread-safety c++11 openmp grand-central-dispatchI have some data calculation method (let it be "myMethod:"), and I want to move the call to another thread …
objective-c ios multithreading concurrency grand-central-dispatchI want to be able to execute a block on the next run loop iteration. It's not so important whether …
objective-c cocoa cocoa-touch grand-central-dispatch nsrunloopI have some code where I am using dispatch_semaphore_t to signal operation completion. When the semaphore is a …
objective-c grand-central-dispatch semaphore nsthread