Locks around allocate_new_resource()
| From: | Yuxuan Shui | Date: | Wed, 30 Nov 2016 21:26:09 +0000 |
| Subject: | Locks around allocate_new_resource() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-325862@lists.php.net to get a copy of this message | ||
Hi,
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.
--
Regards
Yuxuan Shui