• 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: awakeFromNib vs appdidfinishlaunching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: awakeFromNib vs appdidfinishlaunching


  • Subject: Re: awakeFromNib vs appdidfinishlaunching
  • From: Ondra Cada <email@hidden>
  • Date: Wed, 22 Mar 2006 18:01:36 +0100

Karim,

On 22.3.2006, at 17:38, Karim Morsy wrote:

yea, I'm doing all of the lengthy tasks on threads ... but as far as canceling is concerned, is there any simple way (other than using darwin notifications or distributed objects) for stopping a secondary thread from the main thread?

Sure: you ask it to stop and wait till it does.

Since threads are by far not as encapsulated as tasks, it is plain impossible to force stop a thread (other than by crashing it along with all the others :))
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >awakeFromNib vs appdidfinishlaunching (From: Karim Morsy <email@hidden>)
 >Re: awakeFromNib vs appdidfinishlaunching (From: "Jack Nutting" <email@hidden>)
 >Re: awakeFromNib vs appdidfinishlaunching (From: Karim Morsy <email@hidden>)
 >Re: awakeFromNib vs appdidfinishlaunching (From: Ondra Cada <email@hidden>)
 >Re: awakeFromNib vs appdidfinishlaunching (From: Karim Morsy <email@hidden>)

  • Prev by Date: Re: My little file copy/backup program
  • Next by Date: Mixing OpenGL and NS (2)
  • Previous by thread: Re: awakeFromNib vs appdidfinishlaunching
  • Next by thread: Re: awakeFromNib vs appdidfinishlaunching
  • Index(es):
    • Date
    • Thread