-
Aidan Chalk authored
getting thread ID is now just a simple call that doesn't require the user to pass any values. Its slightly complex and relies on pthread_getspecific returning NULL when not called from a pthread - however this is what the pthread specification says so I think its fine
Aidan Chalk authoredgetting thread ID is now just a simple call that doesn't require the user to pass any values. Its slightly complex and relies on pthread_getspecific returning NULL when not called from a pthread - however this is what the pthread specification says so I think its fine