This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is GSL Thread Safe?


On Mon, Apr 01, 2002 at 03:31:30PM -0500, banerjee@wernicke.ccn.upenn.edu sent those random bytes:
> I searched through the GSL manual and found no occurrences of "thread." I 
> conclude then, that GSL is not thread safe. Is this correct? If so, 
> what would it require to make GSL trhead safe and has anyone worked in 
> that direction?

I found some occurrences of "thread" here:
gsl-1.1.1/doc/gsl-ref.info-1
line 715 and following
Error Reporting
===============

   The library follows the thread-safe error reporting conventions of
the POSIX Threads library.  Functions return a non-zero error code to
indicate an error and `0' to indicate success.

You should read the whole Chapter, IMHO.
HTH.

-- 
Carlo Perassi
http://www.linux.it/~carlo/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]