• 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: NSImage drawInRect deadlock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage drawInRect deadlock


  • Subject: Re: NSImage drawInRect deadlock
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 09 Aug 2016 13:18:20 -0700

>> I was under the impression from the docs that macOS
>> handles the thread pool “automatically”.

GCD’s pool does use a thread per CPU core … but only as long as none of the operations run for a long time. If its entire thread pool is busy for “a while” and there are more blocks waiting in the queue, GCD will start to create more threads to keep up, rather than let the waiting threads starve.

—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: 
 >NSImage drawInRect deadlock (From: Andrew Keller <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Aaron Tuller <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Jens Alfke <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Aaron Tuller <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Jens Alfke <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Kyle Sluder <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Andrew Keller <email@hidden>)
 >Re: NSImage drawInRect deadlock (From: Damien DeVille <email@hidden>)

  • Prev by Date: Re: NSImage drawInRect deadlock
  • Next by Date: Re: NSImage drawInRect deadlock
  • Previous by thread: Re: NSImage drawInRect deadlock
  • Next by thread: Re: NSImage drawInRect deadlock
  • Index(es):
    • Date
    • Thread