Re: using grand central dispatch with c++ for inter-thread communication
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Apr 21, 2010, at 11:32 AM, Joel Reymont wrote:
On Apr 21, 2010, at 7:26 PM, Kevin Van Vechten wrote:
However, this isn't exactly the "GCD" way of doing things. The true GCD way is to let the dispatch queue *be* the run loop,
I may be wrong but it seemed from reading the source code that run loop _were_ implemented on top of dispatch queues. Is this not so?
Not exactly. But ignoring the implementation details… The API for CFRunLoop requires that you manage the threads yourself. The goal of GCD is for you to work with queues that may or may not be backed by threads at any given time. Kevin _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Van Vechten