Re: Newbie thread question (Randall Meadows)
Re: Newbie thread question (Randall Meadows)
- Subject: Re: Newbie thread question (Randall Meadows)
- From: Frederick Bartram <email@hidden>
- Date: Wed, 4 Feb 2004 08:56:49 -0500
>
[NSThread detachNewThreadSelector:@selector(doThreadedProcess)
>
toTarget:[ConverterWdw class] withObject:self];
There may be a couple a couple of things wrong with this.
1) If your target is a class then the method should be a class method.
If the target is an instance then the method should be an instance
method.
2) The method for 'detachNewThreadSelector' takes a single argument so
>
@selector(doThreadedProcess)
should be
@selector(doThreadedProcess:)
Hope this helps.
...rick
*---------------------------------------------------------------
* Stop spam before it gets to your mailbox! Support blocklists.
* I use Spamcop.net.
*/
_______________________________________________
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.