NSNotificationQueue and multithreading
NSNotificationQueue and multithreading
- Subject: NSNotificationQueue and multithreading
- From: Glen Low <email@hidden>
- Date: Sun, 8 Feb 2004 07:25:59 +0800
Dear All:
I need to send a NSNotification from a different thread of execution.
Are the various NSNotificationQueue methods like dequeueNotification
and enqueueNotification thread-safe -- i.e. from thread A, if I have
thread B's notification queue, can I simply enqueue a notification
there and thread B will reliably get the notification? Or assuming I
don't want to use NSDistributedNotificationQueue (since I'm not
crossing tasks, only threads), is there some other method to get what I
want?
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
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.