Re: Locks around allocate_new_resource()

[email protected] ("Christoph M. Becker")
Newsgroups php.general
Message-ID <[email protected]>
Hi!

On 30.11.2016 at 22:26, Yuxuan Shui wrote:

> I don't quite understand why do we need to put locks around
> allocate_new_resource(). I skimmed through the code and it seems to be
> unnecessary.
> 
> I removed relevant locks and tested the resulting mod_php with httpd, and
> everything seems to be fine.

As this is about the PHP implementation or an extension, I suggest you
ask on the internal mailing list (internals@) or the PECL developers
mailing list (pecl-dev@).

-- 
Christoph M. Becker
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.