• 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: drawing NOW in a callback, boom!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: drawing NOW in a callback, boom!


  • Subject: Re: drawing NOW in a callback, boom!
  • From: Aram Greenman <email@hidden>
  • Date: Wed, 5 Jun 2002 11:30:31 -0700

On Wednesday, June 5, 2002, at 09:49 AM, Paul Cezanne wrote:

I'm the original poster in this thread and there has been a lot of talk about how safe or unsafe threaded modifications to the UI are.

I believe I _have_ followed the guidelines, all my drawing calls are via NSBezierPath, which is allegedly safe.


Did you try putting your code in an NSThread? I was able to easily recreate your problem in a pthread but not in an NSThread, just using the code from your original post. Also, it seems to crash (signal 10 or 11) on the -display call, not the drawing calls, so I don't think that's your problem.

Aram
_______________________________________________
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: drawing NOW in a callback, boom!
      • From: Paul Cezanne <email@hidden>
References: 
 >Re: drawing NOW in a callback, boom! (From: Paul Cezanne <email@hidden>)

  • Prev by Date: Next-Dev-Tools on other Systems
  • Next by Date: Re: Relaunching application
  • Previous by thread: Re: drawing NOW in a callback, boom!
  • Next by thread: Re: drawing NOW in a callback, boom!
  • Index(es):
    • Date
    • Thread