Subj : Re: Answer David Schwartz 's question To : comp.programming.threads From : loic-dev Date : Wed Apr 06 2005 01:38 am Hi, > I-am-not-a-C-programmer question: In threaded environment, is it > possible to overlap two malloc(), and what happens then? Is it > protected with some mutex like (IMO) stdin probably is? correct. Standart I/O stream, memory management functions, etc. are protected by some mutex like mechanism to make them thread-safe. Loic. .