Basic thread example?
Basic thread example?
- Subject: Basic thread example?
- From: email@hidden
- Date: Fri, 27 Feb 2004 17:20:56 -0800
does anyone know if there is one floating around, i don't want my users
to sit and go wtf is this thing doing anything so i want to make a
thread to perform my method and show its progress with a threaded
progress bar but i can't seem to find a basic example i've got this
code but i get mem leaks?
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
BOOL keepGoing = YES;
while( keepGoing )
{
do some stuff
}
keepGoing = NO;
[pool release];
_______________________________________________
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.