Re: Locks around allocate_new_resource()
| From: | Christoph M. Becker | Date: | Thu, 01 Dec 2016 13:06:49 +0000 |
| Subject: | Re: Locks around allocate_new_resource() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325863@lists.php.net to get a copy of this message | ||
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