Hi Jason,

Thanks for the answer. Looks like the ZTS is quite resource intensive then
if there is no sharing.

Do you know if threads live forever, or do they age gracefully and die like
Apache children?

- John

"Jason Greene" <[EMAIL PROTECTED]> wrote in message
02a501c14b64$f03ff260$80dda8c0@void">news:02a501c14b64$f03ff260$80dda8c0@void...

> I can answer number 3. for you
> There is no need for locking of resources because every php script context
has
> its own resources. This means that in ZTS(thread), every thread gets its
own
> environment( similar to a process ) So in short, threads do not share
resources,
> therefore there is no locking. However, not all modules are thread safe,
and thus
> the API's they use  would have to include some kind of locking.
>
> > > 3. Are persistent resources locked exclusively by an executing script
until
> > the script completes when the resources become available for other
scripts,
> > or can persistent resources be shared by multiple concurrent scripts?
> >




-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to