Locks around allocate_new_resource()
[email protected] (Yuxuan Shui)
| Newsgroups | php.general |
|---|---|
| Message-ID | <CAGqt0zyAVfESki1Svhpvay0bNdk47MvBYED37GC3R9ZKOt5BAw@mail.gmail.com> |
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