Thread and malloc

Claude Robitaille crobitaille at videotron.ca
Sun Dec 12 11:00:15 EST 1999


Hi,

I am getting segmentation faults in malloc when using threads. I have
updated my kernel to 2.2.14pre6, gcc, gdb (to 4.18), etc. I try both
code_medic and ddd. Is malloc thread safe? A book I am reading indicates
that some malloc are thread safe and some others are not. But the book
is not Linux specific.

The Web pages I have found so far are pretty old and mostly talk about
LinuxThread (for 2.0.X). The man pages for malloc, etc. do not indicate
anything about thread friendlyness... (and they would probably out of date
anyway....). Is there a good place for information about thread in Linux?
Anyboady has a idea why I an getting faults in malloc?

Thanks

Claude


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list