Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed object and run loops I didn't start



Oh, also, MacInTalk's talking alerts will spawn two new threads (the Speech Synthesizer one and the CoreAudio one). So if the user has "Talking Alerts" enabled, your application becomes multithreaded.

I believe other things like VoiceOver will also spawn the CoreAudio thread.

The MacInTalk stuff can be enabled in the Speech preference pane. There's also an option to "Speak Selected text when the key is pressed" and "Announce when an application requires you attention" the former of which also spawns two threads in an application.

My point is you can *never* assume your application has just one thread.

Ack, at 3/12/07, Rosyna said:

It's nearly impossible to create such an application on OS X. Even a simple application using the default Cocoa project in Xcode will spawn multiple threads (the main thread and the UI thread).

--


Sincerely, Rosyna Keller Technical Support/Carbon troll/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People

It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Distributed object and run loops I didn't start (From: James Bucanek <email@hidden>)
 >Re: Distributed object and run loops I didn't start (From: Rosyna <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.