[Nauty] TLS_ATTR for naugroup.c etc

J.K.R. Bausch jkrb2 at cam.ac.uk
Wed Apr 10 20:56:53 AEST 2019

Maybe to answer my own question: it appears to work (tested in MSVC 
where TLS_ATTR should be __declspec(thread), which even gives 
interoperability with OpenMP's #pragma omp threadprivate(...)).

If you have a git repository or so I'd be happy to send you a pull 
request for it, or a diff per e-mail if that's welcome.

Thanks anyways,

On 2019-04-10 11:36, J.K.R. Bausch wrote:
> Dear all,
> I was wondering whether I can safely add TLS_ATTR to the other modules
> where it's currently missing, or was there a specific design decision
> for which it's not yet present everywhere? In particular, I'll be
> using the following c files that currently don't appear to have been
> set up with threading in mind:
> gtnauty.c
> naugroup.c
> Thanks a lot!
> Best,
> Johannes
> _______________________________________________
> Nauty mailing list
> Nauty at anu.edu.au
> http://mailman.anu.edu.au/mailman/listinfo/nauty

More information about the Nauty mailing list