• 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: NSTask Suspend/Resume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask Suspend/Resume


  • Subject: Re: NSTask Suspend/Resume
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 22 Jul 2004 10:09:53 -0700

On Jul 22, 2004, at 9:52 AM, Jim Ways wrote:

I orginally wanted to start and stop a UEF many times
but that dosnt seem possible.

Excuse my ignorance but what is a UEF?

When i suspend and then
resume a task does it take off where it left off?

Yes... assuming that task doesn't depend on external items that may continue on or timeout, if it does it possibly will fail to progress further because of errors.

What
if it is in the middle of a huge sleep loop?

It just keeps sleeping. Suspending a process basically takes it off of the schedular queue until it is resumed.

Is there
a way i can make it resume from the start of the
program? Thanks!

Relaunch it? Send it a signal (HUP)?

Again I don't know what a UEF is...

-Shawn
_______________________________________________
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: 
 >NSTask Suspend/Resume (From: Jim Ways <email@hidden>)

  • Prev by Date: NSTask Suspend/Resume
  • Next by Date: Re: IOBluetooth questions
  • Previous by thread: NSTask Suspend/Resume
  • Next by thread: NSArrayController bindings
  • Index(es):
    • Date
    • Thread