• 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
How to use NSTaskDidTerminateNotification on iPhone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to use NSTaskDidTerminateNotification on iPhone?


  • Subject: How to use NSTaskDidTerminateNotification on iPhone?
  • From: Xu Ting <email@hidden>
  • Date: Tue, 17 Mar 2009 18:01:44 +0900

Hi, list,

I am using NSOperation and NSOperationQueue object to create and
manage a lightweight thread and using a NSTaskDidTerminateNotification
as it was introduced in the iPhone threading programming guide.

Now the problem is, When I set to build on Device 2.2, it told me,
NSTaskDidTerminateNotification was not declared!!

NSTask.h is also not available for iPhone. So, What's the problem?
Does Apple make a mistake?

The documentation is located here:
iPhone Dev Center > iPhone Reference Library > Topics > Performance >
Threading Programming Guide >Creating and Managing Operation Objects
and inside which, <Listing 2-2  Using an operation object to launch a
process> snippet DOES use NSTaskDidTerminateNotification.

How can I resolve this problem?

BTW: When I compile and run it in the simulator, it worked fine!

Thanks in advance.
Tonny



--
Life is like a box of chocolates, u never know what u'r gonna get.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to use NSTaskDidTerminateNotification on iPhone?
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: AVAudioPlayer Question....
  • Next by Date: Re: Coreaudio-api Digest, Vol 6, Issue 134
  • Previous by thread: Re: kAudioQueueParam_Volume having no effect
  • Next by thread: Re: How to use NSTaskDidTerminateNotification on iPhone?
  • Index(es):
    • Date
    • Thread