Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thread cancelation



On Oct 26, 2005, at 7:34 PM, Matt Watson wrote:
I've scoured the ADC site for anything at all about this. Where wou

It should be in the man pages. I'll file a bug to get this fixed.

There are already bugs tracking the documentation issues; no need to file duplicates. Note that the people who deal with the manual pages, and the people who deal with the ADC site are not the same people.



In general, if you see a __DARWIN_ALIAS() appended to the prototype for a function, it will behave conformingly when you define _XOPEN_SOURCE, _POSIX_C_SOURCE or _APPLE_C_SOURCE.

The latter can be used if you want non-POSIX routines available, but want conforming behavior of things like pthread_cancel().

matt.

I didn't fully state this out because I know that _APPLE_C_SOURCE will be changing names at some point in the future, and it's actually better for code portability to not accidently depend on an Apple- specific (or other vendor-specific) API, so kicking this stuff out of the namespace tends to result in the cleanest, most portable code.



-- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Unix-porting mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden
References: 
 >thread cancelation (From: Joseph Oreste Bruni <email@hidden>)
 >Re: thread cancelation (From: Terry Lambert <email@hidden>)
 >Re: thread cancelation (From: Joseph Oreste Bruni <email@hidden>)
 >Re: thread cancelation (From: Matt Watson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.