• 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
NSThreadWillExitNotification, Thread and notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSThreadWillExitNotification, Thread and notification


  • Subject: NSThreadWillExitNotification, Thread and notification
  • From: Eric Cheymol <email@hidden>
  • Date: Wed, 22 Oct 2003 12:45:11 +0200

Hello,

I use an observer to be informed of the end of a thread.
I register the observer method with the standard call :

[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(finishLoadLibrary:) name:NSThreadWillExitNotification object:nil];

All runs perfectly with Jaguar for months.

Since the 7B85 install, I check my app and I saw that the observer receives too many notifications : all of NSConcreteNotification instead of NSThreadWillExitNotification.

I could broadcast a private notification with a dedicated name but I would like to use NSThreadWillExitNotification as recommended in the Apple documentation.

Anyone has the same problem ?

Eric
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSThreadWillExitNotification, Thread and notification
      • From: Shaun Wexler <email@hidden>
  • Prev by Date: Re: detecting a double click ahead of time
  • Next by Date: Re: setting the increment of all steppers
  • Previous by thread: Re: Loading multiple NIBs == multiple awakeFromNib calls
  • Next by thread: Re: NSThreadWillExitNotification, Thread and notification
  • Index(es):
    • Date
    • Thread