Hi, How does the garbage collector react to live threads in which there are no references to it? For example, myclass { NSThread *mythread; } mythread = [[NSThread alloc] initWith....]; [mythread start]; ... //mythread is still running its main method mythread = nil;
Would mythread be considered garbage and be collected even though it hasn't finished running? If so, would it be cancelled first? Or would it just get killed? Ed _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com