• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Newbie thread question (Randall Meadows)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: RETRIEVING AN ARRAY ENTRY FROM AN ARRAY
  • Next by Date: NSImage resizing
  • Previous by thread: No Subject
  • Next by thread: NSImage resizing
  • Index(es):
    • Date
    • Thread