Re: NSThread and memory management
Re: NSThread and memory management
- Subject: Re: NSThread and memory management
- From: Luc Heinrich <email@hidden>
- Date: Tue, 3 Jul 2001 19:42:02 +0200
On Tuesday, July 3, 2001, at 09:11 , Rob Rix wrote:
Wait, will
[[NSConnection defaultConnection] invalidate];
in the spawned thread do the same?
The docs are a little sketchy on this point.
From what I read in the documentation (at [NSConnection
defaultConnection]), I don't think that it would be appropriate:
"Returns the default NSConnection for the current thread, creating it if
necessary. The default NSConnection uses a single NSPort for both
receiving and sending, and is useful only for vending an object"
But I might be wrong, feel free to try it... ;-)
--
Luc - email@hidden