• 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: Do Notifications thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do Notifications thread?


  • Subject: Re: Do Notifications thread?
  • From: Daniel Tapie <email@hidden>
  • Date: Mon, 16 Oct 2006 16:53:59 +0200

Hi Aychamo,

Yes, Object 1 will only display "Hello" when Object 2 will be done counting, so it will have to wait. If you want to use threads, you really need to start a new thread.

Hope this helps,


On 16 oct. 06, at 16:34, Aychamo Aychamo wrote:

Hey guys

Please excuse my lack of terminology.  I have a question if sending
notifications "threads"?  I know that isn't the right wording..  What
I mean is if I have the following scenario:

object 1: send off NS(Distributed)NotificationCenter "COUNT TO ONE TRILLION"
object 2: receives notification to count to one billion, starts to count
object 1: NSLog(@"hello!")


Will object 1 continue with it's code before object 2 counts to one
trillion, or will object 1 have to wait until object 2 counts to one
trillion before it continues with its code?  (ie, will object 1 say
"Hello" before object two counts to one billion?)

Thank you very much,
AA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40softronmedia.com


This email sent to email@hidden




Daniel Tapie -------------------------------------------- email: email@hidden website: www.softronmedia.com -------------------------------------------- Softron Media Services, a division of Softron Microcomputing S.A./N.V. av. Molière, 470 B-1050 Brussels - Belgium Phone (Int'): +32 2 771 73 71 Phone (France): 08 11 03 55 00 Fax: +32 2 706 52 66 -------------------------------------------- Intelligent Broadcasting Systems, Inc. c/o Barb Maes 409 Periwinkle Way Prospect Heights, IL 60070-2905 Phone: (847) 960-3543 Fax: (847) 655-6086 --------------------------------------------



_______________________________________________
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


References: 
 >Do Notifications thread? (From: "Aychamo Aychamo" <email@hidden>)

  • Prev by Date: Enabling/Disabling an NSTableView in an NSPanel
  • Next by Date: (no subject)
  • Previous by thread: Do Notifications thread?
  • Next by thread: Re: Do Notifications thread?
  • Index(es):
    • Date
    • Thread