Author vstinner
Recipients jaketesler, pitrou, vstinner
Date 2019-05-13.09:13:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I dislike adding a function which always return 0 when the feature is not supported:

unsigned long
#if ...
    unsigned long native_id;
    native_id = 0;
    return (unsigned long) native_id;

I would prefer to not define the function if it's not available, so the attribute would be missing.

With the commited change, how can I know if native thread identifier is supported or not?
Date User Action Args
2019-05-13 09:13:20vstinnersetrecipients: + vstinner, pitrou, jaketesler
2019-05-13 09:13:20vstinnersetmessageid: <>
2019-05-13 09:13:20vstinnerlinkissue36084 messages
2019-05-13 09:13:20vstinnercreate