slightly OT (unblocking accept)
slightly OT (unblocking accept)
- Subject: slightly OT (unblocking accept)
- From: email@hidden
- Date: Sat, 2 Feb 2002 15:48:36 -0800
I'm using SmallSockets and have a thread blocked in accept() waiting on
external connections.
I'm wondering if there's a way to stop that thread. All I can see from
the NSThread documentation is the class method + exit; which seems like
it must be called from the thread that wants to exit, not an external
one.
Is there some magic fcntl() or other NSThread magic that I can use to
tell the thread blocked in accept() to unblock so i can kill it?
thanks.
-tw