Re: drawing NOW in a callback, boom!
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.