how many threads/tasks are running in my application
how many threads/tasks are running in my application
- Subject: how many threads/tasks are running in my application
- From: "Ramakrishna Kondapalli" <email@hidden>
- Date: Sat, 10 Jan 2004 15:39:07 +0530
- Thread-topic: how many threads/tasks are running in my application
Hi,
I am working in an cocoa application which is multithreaded. My
requirement is that if some other task/thread is running in the
application, then I should not be able to quit the application. Is there
any straight forward way of knowing at an instant, how many
threads/tasks are running in my application. I tried Cocoa
documentation, it does have a notification -
NSDidBecomeSingleThreadedNotification, which i think can be useful. But
the documentation says, it is not implemented.
Is there any other way to determine this?
Thanks
Ramakrishna
_______________________________________________
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.