• 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: Main thread to another
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main thread to another


  • Subject: Re: Main thread to another
  • From: Kurt Revis <email@hidden>
  • Date: Mon, 10 Dec 2001 03:20:19 -0800

On Monday, December 10, 2001, at 03:07 AM, Dustin Mierau wrote:

While i'm at it, do you know if I can create an NSPort for a runloop then create and send NSPortMessages to it from multiple threads?

Sure. I just saw this yesterday; take a look at OFRunLoopQueueProcessor in OmniFoundation for an example. (There is undoubtedly some confusing stuff in there, but the use of NSPort/NSPortMessage is pretty simple.)

--
Kurt Revis
email@hidden


References: 
 >Re: Main thread to another (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: Main thread to another
  • Next by Date: ObjectAlloc problem?
  • Previous by thread: Re: Main thread to another
  • Next by thread: ObjectAlloc problem?
  • Index(es):
    • Date
    • Thread