is malloc thread safe?
Thu Sep 14 22:45:00 GMT 2000

"Hubert Felber" <> writes:

> Hello,
> Is malloc thread safe? I have lots of trouble with memory in a multithreaded program, thats why I am asking.
> Are there other possibilites to detect memory corruptions then  "efence" ?
> Thank you
> Hubert

malloc() is part of the C library, and not a part of gcc.

Look up malloc, and thread safety in the documentation for your C

More information about the Gcc-help mailing list