• 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: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN


  • Subject: Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 03 Oct 2011 10:28:02 -0600

On Oct 3, 2011, at 9:43 AM, Mike Richmond wrote:

> I'm trying to use pthread_cancel() to interrupt a thread which is calling select().  This works fine if I build on 10.4 with the 10.4u SDK and I define _POSIX_C_SOURCE.  It also works fine if I build on 10.6 with either the 10.5 or 10.6 SDKs.

The traditional way to do this is to have a local "control" socket, and send a terminate message over it (where "send a terminate message" often just means close it).

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN (From: Mike Richmond <email@hidden>)

  • Prev by Date: Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • Next by Date: Re: Xcode constantly eating Ram (Feifan Zhou)
  • Previous by thread: Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • Next by thread: Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • Index(es):
    • Date
    • Thread