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.

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.


Thanks, Matt, for the tip.

I now see the discussion of the __DARWIN_ALIAS macro in the /usr/ include/cdefs.h header file and I see how it does the cute symbol renaming using an __asm() directive. It would be nice if there were a technote on ADC listing all the functions with alternative behavior so that someone trying to look something up by function would stumble across the note.

I suppose trying to maintain all this sort of backward & forward compatibility makes for fun work!

:)

-Joe

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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.