Re: GCD question

2012-07-19 Thread Rick C.
Thanks all for the replies! rc On Jul 19, 2012, at 11:41 PM, Fritz Anderson wrote: > On 19 Jul 2012, at 1:47 AM, Rick C. wrote: > >> If I use this to initiate a background "thread": >> >> >> dispatch_async(dispatch_get_global_queue(0, 0), ^{ >> >> // do some stuff >> >> [self runMyFunctio

Re: GCD question

2012-07-19 Thread Fritz Anderson
On 19 Jul 2012, at 1:47 AM, Rick C. wrote: > If I use this to initiate a background "thread": > > > dispatch_async(dispatch_get_global_queue(0, 0), ^{ > > // do some stuff > > [self runMyFunction]; > > [self runAnotherFunction]; > > // do some more stuff > > }); > > > My question is with

Re: GCD question

2012-07-19 Thread Jonathan Taylor
> If I use this to initiate a background "thread": > > > dispatch_async(dispatch_get_global_queue(0, 0), ^{ > > // do some stuff > > [self runMyFunction]; > > [self runAnotherFunction]; > > // do some more stuff > > }); > > > My question is with my sample calling runMyFunction or runAnothe