Re: how many threads/tasks are running in my application
Re: how many threads/tasks are running in my application
- Subject: Re: how many threads/tasks are running in my application
- From: Daniel Todd Currie <email@hidden>
- Date: Sat, 10 Jan 2004 02:37:25 -0800
NSThread +(BOOL)isMultiThreaded doesn't do what you need?
On 2004 Jan 10, at 02:09, Ramakrishna Kondapalli wrote:
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.
_______________________________________________
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.