• 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: Ali Ozer <email@hidden>
  • Date: Sat, 7 Feb 2004 09:25:10 -0800

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.

  • Follow-Ups:
    • Re: NSColor Deadlock bug?
      • From: "J. Nicholas Jitkoff" <email@hidden>
References: 
 >NSColor Deadlock bug? (From: "J. Nicholas Jitkoff" <email@hidden>)

  • Prev by Date: Re: [Q] NSScanner -> \t\t how to fix??
  • Next by Date: Re: colored text in an NSTextView
  • Previous by thread: Re: NSColor Deadlock bug?
  • Next by thread: Re: NSColor Deadlock bug?
  • Index(es):
    • Date
    • Thread