Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with thread/autorelease pool .



On 13/11/06, Sudheer dantuluri <email@hidden> wrote:
I've also tried with NSTread's
detachNewThreadSelector:toTarget:withObject: method creating
autorelease pool in the method .
Even this results in the same crash .

In the method where the new thread starts executing, do you create a new autorelease pool as the *first* thing you do (and subsequently, release it as the last)?

-Phil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Problem with thread/autorelease pool . (From: Sudheer dantuluri <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.