Ian Lance Taylor wrote:
David Livshin <[EMAIL PROTECTED]> writes:

What functions from the GNU's C standard library ( libc ) are thread
safe? Of a particular interest are transcendental functions ( like
exp', 'sin' etc. ) - are they thread safe?

Are there any requirements/guidelines/assurances regarding thread
safety of functions from the  C library?

I'm sorry, this is the wrong mailing list.  This is a mailing list for
gcc developers.  Questions about using gcc should be sent to
[EMAIL PROTECTED]  However, this is a question about glibc; glibc
is not part of gcc.  For glibc, please see
http://sourceware.org/glibc/ .

As far as I know the functions like exp and sin are all thread safe.

Ian


Thank you for the pointer - I will redirect my question to the "libc-help" mailing list.

I thought that "gcc" mailing list is appropriate as I need this information in order to implement auto-parallelizer for the gcc-generated code. How the gcc-supported parallelizer ( "-ftree-parallelize-loops=n" ) treats the calls to library routines?

--
David Livshin

http://www.dalsoft.com

Reply via email to