• 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
Adding a port to the run loop of a different thread.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding a port to the run loop of a different thread.


  • Subject: Adding a port to the run loop of a different thread.
  • From: Andre Lipinski <email@hidden>
  • Date: Wed, 14 Nov 2001 21:58:55 -0500

Hi,

I need to add a port to a run loop of a different thread. I can get an outlet to the run loop easily. Doing this hasn't crashed on me yet, but I'
m expecting it will sooner-or-later.

Is there any safe way to add a port to a run loop in another thread for NSDefaultRunLoopMode?

Or.

Is there a way to flush messages waiting to be received at a port and still be able to use the port afterward?

Thanks,
Andre.


  • Follow-Ups:
    • Re: Adding a port to the run loop of a different thread.
      • From: Chris Kane <email@hidden>
  • Prev by Date: FSSpec for non-existant file?
  • Next by Date: WHOA! Weird bug!!!
  • Previous by thread: Re: FSSpec for non-existant file?
  • Next by thread: Re: Adding a port to the run loop of a different thread.
  • Index(es):
    • Date
    • Thread