• 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
slightly OT (unblocking accept)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: slightly OT (unblocking accept)
      • From: email@hidden
  • Prev by Date: Re: Firing an NSTimer by hand
  • Next by Date: Re: optimizing compilers
  • Previous by thread: Re: Firing an NSTimer by hand
  • Next by thread: Re: slightly OT (unblocking accept)
  • Index(es):
    • Date
    • Thread