• 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: Problem cancelling lengthy task in secondary thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem cancelling lengthy task in secondary thread


  • Subject: Re: Problem cancelling lengthy task in secondary thread
  • From: "Alastair J.Houghton" <email@hidden>
  • Date: Thu, 30 Oct 2003 12:31:26 +0000

On Thursday, October 30, 2003, at 11:53 am, Jvrn Salewski wrote:

Has anybody got an idea of what's going wrong?

//if (! _continue) goto CANCEL;
if (![_controller searchInProgress]) {
goto CANCEL;
}

I wonder whether CANCEL is #defined as a macro... try changing your code to use lower-case and see if that fixes it. (One thing that makes me suspicious that this might be the problem is the fact that the code you claim works has braces, whereas the code you claim doesn't, doesn't.)

Kind regards,

Alastair.
_______________________________________________
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: Problem cancelling lengthy task in secondary thread
      • From: Jörn Salewski <email@hidden>
References: 
 >Problem cancelling lengthy task in secondary thread (From: Jörn Salewski <email@hidden>)

  • Prev by Date: Re: Sample code for a Finder hack - "haxies"
  • Next by Date: Re: Plugins work in PB, but not in standalone
  • Previous by thread: Problem cancelling lengthy task in secondary thread
  • Next by thread: Re: Problem cancelling lengthy task in secondary thread
  • Index(es):
    • Date
    • Thread