• 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
Re: how many threads/tasks are running in my application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: how many threads/tasks are running in my application
      • From: John Stiles <email@hidden>
References: 
 >how many threads/tasks are running in my application (From: "Ramakrishna Kondapalli" <email@hidden>)

  • Prev by Date: how many threads/tasks are running in my application
  • Next by Date: Inter-Object Reference
  • Previous by thread: how many threads/tasks are running in my application
  • Next by thread: Re: how many threads/tasks are running in my application
  • Index(es):
    • Date
    • Thread