Re: autorelease pools in new threads
Re: autorelease pools in new threads
- Subject: Re: autorelease pools in new threads
- From: Nathan Day <email@hidden>
- Date: Sat, 31 Aug 2002 20:43:47 +0930
You probably are releasing or autoreleasing an object too many times so
when the autorelease pool eventually releases, it attempts to a release
an object that is no longer valid.
On Saturday, August 31, 2002, at 08:54 AM, Chaz McGarvey wrote:
Hello:
I'm having trouble with threads. I have a method (which is
branched off into its own thread) that creates and AutoreleasePool as
it's first statement, and it releases it as it's last. The program
crashes when releasing the pool with either SIGBUS or SIGSEGV. Can
anybody tell straight off with this information if I'm doing something
wrong? I get some "leaking" warnings if I don't include the pool.
Thanks,
Chaz McGarvey
_______________________________________________
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
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.