Malloc() and threads

Damn.
Never use malloc() in a thread in a non-MTsafe (libc5,win32) environment.

Yuck.
See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/

Are you positive you can even call malloc in a thread in glibc? I
don’t know one way or the other, but I can imagine malloc being
restricted even there.

–Cliff
@Clifford_T_Matthews