• 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: John Stiles <email@hidden>
  • Date: Sat, 10 Jan 2004 07:55:30 -0800

My understanding was, once you make an NSThread, you're "multithreaded" until you quit.


On Jan 10, 2004, at 2:37 AM, Daniel Todd Currie wrote:

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.
_______________________________________________
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.

References: 
 >how many threads/tasks are running in my application (From: "Ramakrishna Kondapalli" <email@hidden>)
 >Re: how many threads/tasks are running in my application (From: Daniel Todd Currie <email@hidden>)

  • Prev by Date: Re: vImage
  • Next by Date: hash and isEqual not working as expected
  • Previous by thread: Re: 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