• 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: NSColor Deadlock bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSColor Deadlock bug?


  • Subject: Re: NSColor Deadlock bug?
  • From: "J. Nicholas Jitkoff" <email@hidden>
  • Date: Sun, 8 Feb 2004 13:36:02 -0800

I tried this as a workaround, and it seems to have prevent the problem so far. I will file a bug report.

Thank you for the suggestion.

Nicholas

On Feb 7, 2004, at 9:25 AM, Ali Ozer wrote:

In my experience, the first thread always looks the same, hanging on +controlShadowColor, the second varies, sometimes it is image rendering, sometimes window drawing.

Does anyone have any suggestions on how to deal with this? It only happens periodically, but is really annoying.

Assuming that this is really the first call to controlShadowColor, a workaround might be to call (void)[NSColor controlShadowColor] somewhere in your program, early on, when hopefully no other threads are banging on the image lock.

Also, please report a bug... I don't know whether there is indeed a bug here, but it should be investigated.

Ali
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >NSColor Deadlock bug? (From: "J. Nicholas Jitkoff" <email@hidden>)
 >Re: NSColor Deadlock bug? (From: Ali Ozer <email@hidden>)

  • Prev by Date: Re: Objective-C & Private functions
  • Next by Date: Toll-Free Bridging and Performance
  • Previous by thread: Re: NSColor Deadlock bug?
  • Next by thread: Can't set image in NSImageView
  • Index(es):
    • Date
    • Thread