> Arthur Bergman wrote:
> >>perl-5.7.3 is out. It passes all tests with threads enabled flawlessly :)
> >>So if you were afraid to upgrade your bleadperl it's good time to do it now.
> >>
> >>
> > 
> > I sure hope it does, and soon there will be more documentation aswell :)
> 
> That would be great. I've just finished the pthreads book and would love 
> to make parallels with perl threads API.
> 
> > For mod_perl I think the biggest improvment over 5.6.1 is the fact that
> > a) why use _r functions
> 
> Can you please expand on this one? Do you mean that in 5.6.1 one has to 
> use _r equivalents instead of certain unsafe POSIX functions to achieve 
> thread-safeness and 5.7.x has this transparent to developers?

I meant, we use _r functions

for example CORE::localtime() now uses localtime_r instead of localtime() so it is 
safe to call it from multiple threads

> > b) regexes are threadsafe
> 
> what about things like chdir?
> 
> 

chdir() cannot be threadsafe ;), there is only one CWD per application. (sadly)

Arthur


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to