Subj : Re: Answer David Schwartz 's question To : comp.programming.threads From : Marcin 'Qrczak' Kowalczyk Date : Tue Apr 05 2005 02:19 pm Oliver Battenfeld writes: >> Nope. Suppose another thread was in the middle of 'malloc' when you >> stopped it. > > Question then: What happens, if one such thread is preempted "in the > middle of malloc" by the main thread? Probably malloc invoked from another thread will block until this thread finishes the malloc. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/ .