[Openmcl-devel] thread overview

alex crain alexcrain at mail2.widgetworks.com
Sun Aug 22 14:20:30 PDT 2004


On Aug 22, 2004, at 4:00 PM, Gary Byers wrote:
>
>
>> I get two more when I add a
>> COCOA listener and two more for each COCOA editor window. I'm looking
>> for insights into what types of tasks are delegated to existing 
>> threads
>> as opposed to new threads, etc.
>
> The Cocoa event loop has to run in the initial thread; when the event 
> loop
> starts up, it creates a new thread to do "housekeeping".
>>

All the thread stuff makes sense, including giving a dedicated thread 
to each edit window,
but why is there a separate houskeeping thread for COCOA? Why not just 
use the main
thread for that stuff since it already runs the periodic events?

>
> You seem to be subscribed as "alexcrain at widgetworks.com"; I tried to 
> make
> the mailing list accept mail from "axexcrain at mail2.widgetworks.com" as
> well.
>
Thanks.

:alex




More information about the Openmcl-devel mailing list