Re: using grand central dispatch with c++ for inter-thread communication
Re: using grand central dispatch with c++ for inter-thread communication
- Subject: Re: using grand central dispatch with c++ for inter-thread communication
- From: Kevin Van Vechten <email@hidden>
- Date: Wed, 21 Apr 2010 11:37:29 -0700
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden