Re: Worker threads and UI threads
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.