• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications?


  • Subject: Re: Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications?
  • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Date: Thu, 6 Feb 2020 16:09:38 -0800

> On Feb 6, 2020, at 9:16 AM, Matt DeFoor via Cocoa-dev
> <email@hidden> 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 everything is implicitly suspended.

—Jens
_______________________________________________

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

References: 
 >Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications? (From: Matt DeFoor via Cocoa-dev <email@hidden>)

  • Prev by Date: Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications?
  • Next by Date: Problem in the creation of Graphics context(NSGraphicsContext)
  • Previous by thread: Is it necessary to suspend/resume a dispatch queue/source on sleep/wake notifications?
  • Next by thread: Problem in the creation of Graphics context(NSGraphicsContext)
  • Index(es):
    • Date
    • Thread