It wouldn’t hurt to create an aintern_tls.h. As for tls_get returning NULL, 
you’d have to return an error to the user (eg return false or NULL, not sure 
the specifics.) But perhaps it would be better to use a mutex here. There’s no 
real reason this needs to be in TLS.

From: Edgar Reynaldo
_______________________________________________
Allegro-developers mailing list
[email protected]
https://mail.gna.org/listinfo/allegro-developers

Reply via email to