• 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: Accessing NSTextView from a thread (locking problem)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Accessing NSTextView from a thread (locking problem) (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: Setuid?
  • Next by Date: IB Palette & Nib Connector
  • Previous by thread: Accessing NSTextView from a thread (locking problem)
  • Next by thread: Preview in Internet Explorer
  • Index(es):
    • Date
    • Thread