• 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: Andrew Keller <email@hidden>
  • Date: Tue, 09 Aug 2016 19:38:35 -0400

Am 09.08.2016 um 3:59 nachm. schrieb Kyle Sluder <email@hidden>:
> On Tue, Aug 9, 2016, at 07:38 AM, Andrew Keller wrote:
>
>> I was under the impression from the docs that macOS
>> handles the thread pool “automatically”.
>
> Mike Ash did a good job explaining why this isn’t as “automatic” as one
> might think:
> https://www.mikeash.com/pyblog/friday-qa-2009-09-25-gcd-practicum.html <https://www.mikeash.com/pyblog/friday-qa-2009-09-25-gcd-practicum.html>

Wow.  That was incredibly eye opening.  I’m seeing the exact same symptoms he’s describing — the deadlock is just the sugar on top.

I’m going to play with some of his concepts and see what happens.  I wonder if the deadlock can be worked around by using the image scaling approach he uses in his example.

Thanks,
 - Andrew

_______________________________________________

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


  • Follow-Ups:
    • Re: NSImage drawInRect deadlock
      • From: Andrew Keller <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: Kyle Sluder <email@hidden>)

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