Re: Multithreading Document Based
Re: Multithreading Document Based
- Subject: Re: Multithreading Document Based
- From: Fritz Anderson <email@hidden>
- Date: Thu, 27 May 2004 10:48:41 -0500
Documents do not automatically get their own threads -- their methods
are essentially callbacks from the event loop in the main, UI-driving
thread of the application. This is the course that leads to the fewest
headaches, as the UI facilities (and therefore most of AppKit) are not
meant for concurrent access. If you have something you want to put in
the background, use NSThread.
-- F
On 27 May 2004, at 3:02 AM, James Stroud wrote:
In a document based app, do documents run in separate threads
automatically? For example, if I have one document doing something
very complicated, is it possible to work with another document without
"backgrounding" the work of the first? Do I have to explicitly code
this type of behavior or is this part of cocoa?
--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
_______________________________________________
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.