Re: Accessing NSTextView from a thread (locking problem)
Re: Accessing NSTextView from a thread (locking problem)
- Subject: Re: Accessing NSTextView from a thread (locking problem)
- From: Cryx <email@hidden>
- Date: Sat, 6 Jul 2002 12:10:07 -0500
On Saturday, July 6, 2002, at 06:04 AM, Allan Odgaard wrote:
Unfortunately my program still has a tendency to freeze, and it seems
to always be while the sub-thread is adding to the NSTextView.
Try invoking "allocateGState" on your text view. For me, this seemed to
resolve deadlock issues where the main thread was attempting to redraw
the view while the subthread was updating it. Awhile back, I asked
whether this was intended behaviour, but I never received a response.
Daryn
_______________________________________________
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.