• 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: Worker threads and UI threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Worker threads and UI threads


  • Subject: Re: Worker threads and UI threads
  • From: Cryx <email@hidden>
  • Date: Fri, 7 Jun 2002 00:26:21 -0500

While we're near the topic... I used to use DOs to let a thread append to a text view because I was encountering deadlock on a mutex in the bowels of the view update machinery (even though I was locking focus). DOs, although an elegant solution, introduced too much latency.

I have discovered that calling allocateGState on the text view seems to have solved the deadlock issue. Is this perhaps due to dumb luck with timing thus far, or do explicit gstates provide further thread syncronization?

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: 
 >Re: Worker threads and UI threads (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: Worker threads and UI threads
  • Next by Date: Re: NSDocument with multiple WindowControllers printing question
  • Previous by thread: Re: Worker threads and UI threads
  • Next by thread: Re: Worker threads and UI threads
  • Index(es):
    • Date
    • Thread