On Thu, Mar 09, 2006 at 10:01:52AM +0000, Dave Mitchell wrote: > On Tue, Mar 07, 2006 at 10:50:45PM -0500, John E. Malmberg wrote: > > In util.c the routines Perl_safesysmalloc and friends are updating a > > linked list. > > > > There does not seem to be any protection from a different thread also > > updating the same linked list at the same time, especially on a > > multi-processor system. > > They are updating a per-thread linked list, so I think it's thread-safe.
Which is what I was thinking but I hadn't replied yet. The other bit I was thinking was "unless things have got very buggy" but I'm not sure how many defences one puts in against the sky falling. Nicholas Clark