> On Feb 6, 2020, at 9:16 AM, Matt DeFoor via Cocoa-dev
> wrote:
>
> Does anyone know if it is necessary to dispatch_suspend/resume a queue or
> source when sleep/wake notifications triggered in a macOS app?
I can’t imagine why you’d need to. When the computer goes to sleep, the CPU
stops, so
Does anyone know if it is necessary to dispatch_suspend/resume a queue or
source when sleep/wake notifications triggered in a macOS app?
I've read the docs and done some searching but couldn't find anything
definitive other than the concurrency programming guide states that all
timer dispatch sour