• 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: multi-threading, AppKit etc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-threading, AppKit etc


  • Subject: Re: multi-threading, AppKit etc
  • From: j o a r <email@hidden>
  • Date: Wed, 18 Oct 2006 00:10:38 +0200


On 17 okt 2006, at 11.46, Apparao wrote:

[NSThread detachNewThreadSelector:@selector(emptyThreadMethod:) toTarget:[DeadThread class] withObject: nil]; // force Cocoa to enter multithreading mode.

In detachNewThreadSelector, toTarget: expects id argument, not class structure.

The class object is the appropriate target if the selector is for a class method.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >multi-threading, AppKit etc (From: "Tom O'Grady" <email@hidden>)
 >Re: multi-threading, AppKit etc (From: Apparao <email@hidden>)

  • Prev by Date: Re: importing MyDocument.h compiler errors and warnings
  • Next by Date: Re: keypress events + responder chain
  • Previous by thread: Re: multi-threading, AppKit etc
  • Next by thread: NSTextView field editor redrawing weirdness
  • Index(es):
    • Date
    • Thread