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

select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN


  • Subject: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • From: Mike Richmond <email@hidden>
  • Date: Mon, 03 Oct 2011 16:43:06 +0100

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.

What I can't get to work though is building on 10.6 with the 10.4u SDK. In that case I note that select$DARWIN_EXTSN$NOCANCEL() is being called, whereas I think I want select$DARWIN_EXTSN() to be called (as I see when using the 10.5 and 10.6 SDKs).

I've read <http://developer.apple.com/library/mac/#releasenotes/ Darwin/SymbolVariantsRelNotes/index.html>, but none of the defines it mentions helps - I always end up calling select$DARWIN_EXTSN$NOCANCEL (). What do I need to define to get a non-$NOCANCEL variant of select () instead?

I'm using GCC 4.0, and build with -isysroot /Developer/SDK/ MacOSX10.4u.sdk -mmacosx-version-min=10.4 -Wl,-syslibroot,/Developer/ SDK/MacOSX10.4u.sdk.

Thanks,

Mike Richmond
Global Graphics Software Ltd

_______________________________________________
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


  • Follow-Ups:
    • Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
      • From: Scott Ribe <email@hidden>
    • Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: Re: How to add a search field into a toolbar in IB (Xcode4) ?
  • Next by Date: Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • Previous by thread: Apple Movie Player sample resize
  • Next by thread: Re: select$DARWIN_EXTSN$NOCANCEL vs select$DARWIN_EXTSN
  • Index(es):
    • Date
    • Thread