• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Threading and NSApplicationMain()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Threading and NSApplicationMain()
      • From: Hsu <email@hidden>
References: 
 >Threading and NSApplicationMain() (From: Rob Ross <email@hidden>)
 >Re: Threading and NSApplicationMain() (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: ThreadWorker return value
  • Next by Date: POSTing into a server from COCOA
  • Previous by thread: Re: Threading and NSApplicationMain()
  • Next by thread: Re: Threading and NSApplicationMain()
  • Index(es):
    • Date
    • Thread