NSThreadWillExitNotification, Thread and notification
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.