• 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
NSThread question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSThread question


  • Subject: NSThread question
  • From: Candide Kemmler <email@hidden>
  • Date: Tue, 10 Jul 2001 10:47:58 +0200

Hi,

I have a button (several of them actually) which triggers a long rendering. My application not being multithreaded, the button stays blue for a long while, until the rendering's finished. I tried to do:

[ NSThread detachNewThreadSelector:@selector(display) toTarget:self withObject:nil ];

But then I get

Jul 10 10:46:50 TT[979] *** _NSAutoreleaseNoPool(): Object 0x145d390 of class NSBezierPath autoreleased with no pool in place - just leaking
Jul 10 10:46:50 TT[979] *** _NSAutoreleaseNoPool(): Object 0x145d3f0 of class NSBezierPath autoreleased with no pool in place - just leaking
Jul 10 10:46:50 TT[979] *** _NSAutoreleaseNoPool(): Object 0x145d300 of class NSCalibratedRGBColor autoreleased with no pool in place - just leaking

What's wrong with my call ?

Candide


  • Follow-Ups:
    • Re: NSThread question
      • From: "Mike Vannorsdel" <email@hidden>
  • Prev by Date: YADOTQ (Yet Another DO Threading Question)
  • Next by Date: Re: Syntax Highlighting
  • Previous by thread: YADOTQ (Yet Another DO Threading Question)
  • Next by thread: Re: NSThread question
  • Index(es):
    • Date
    • Thread