Re: Threading and NSApplicationMain()
Re: Threading and NSApplicationMain()
- Subject: Re: Threading and NSApplicationMain()
- From: Rosyna <email@hidden>
- Date: Wed, 13 Sep 2006 21:40:19 -0700
not thread safe does not mean main thread most of the time (with the
exclusion of NSAppleScript which is documented explicitly at least 3
times as only being able to run from the main thread). OS X itself
may put the runloop in a non-main thread in certain circumstances
(rosetta, java). Where main thread means thread 0. If main thread
means thread where the main runloop is running, then ignore
everything I said.
Ack, at 9/12/06, Nick Zitzmann said:
NSApplicationMain() always launches in the same thread, which had
better be the main thread since a good deal of the AppKit is not
thread-safe.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/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.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden