Adding a port to the run loop of a different thread.
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.