gmp_errno and Multithreading

Костиков Александр Kostikov at molot.ru
Tue Apr 1 13:20:22 CEST 2008


There is a variable "int gmp_errno" declared in errno.c and I can't see any
multithread-aware logic that protects that variable from simultaneous usage
in different threads. Is it a bug or it's just low probability of such kind
of errors or I've missed something important in the code?

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20080401/f39f8804/attachment.html 


More information about the gmp-discuss mailing list