Re: BOOL parameter passed as nil object
Re: BOOL parameter passed as nil object
- Subject: Re: BOOL parameter passed as nil object
- From: Quincey Morris <email@hidden>
- Date: Fri, 22 Apr 2016 16:19:53 -0700
- Feedback-id: 167118m:167118agrif8a:167118svv7-RW2Xn:SMTPCORP
On Apr 22, 2016, at 16:12 , Carl Hoefs <email@hidden> wrote:
>
> Yes, CFRunLoopPerformBlock: works well!
But it sounded like you *didn’t* want to prevent the block from running. In that case, dispatch_async would be all you’d need. (AFAIK, it doesn’t interact with run loops, which means the block will always run.)
OTOH, if you were trying to *prevent* your block from running until the run loop exited a mode, then I guess CFRunLoopPerformBlock is what you’d want.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden