multithreading, cocoa, pools and POSIX
multithreading, cocoa, pools and POSIX
- Subject: multithreading, cocoa, pools and POSIX
- From: Luc Vandal <email@hidden>
- Date: Tue, 07 Jun 2005 11:59:37 -0400
Hi!
I've been reading about autorelease pools and I think I found why my
app is leaking memory badly. It seems that Cocoa is not in
multithreading mode and the POSIX thread that calls Cocoa code cannot
use NSAutoreleasePool (it crashes on [pool release]).
So I need some help to solve this issue because I don't really know
what to do! If anyone has some sample code or anything it would be
greatly appreciated!
What do I need to do? Set Cocoa to be in multithreading mode? Use the
autorelease pool elsewhere? I'm stuck!
Thanks!
Luc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden