Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
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