]> granicus.if.org Git - php/commit
Try SIGTERM before SIGKILL in opcache restart
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 7 Dec 2020 11:57:30 +0000 (12:57 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 4 Feb 2021 16:07:18 +0000 (17:07 +0100)
commit8b7aaad7d65779b1d6497436b4e7da52f53d159c
treeb018e26842c2b73cef87a4d67f6cf28f50a96ec8
parent958e3b93c34a54c98069d1b4666f3ba6dae0c0e2
Try SIGTERM before SIGKILL in opcache restart

SIGTERM is subject to HANDLE_BLOCK_INTERRUPTIONS(), which will
allow code to exit critical sections before it gets terminated.

Closes GH-6493.
ext/opcache/ZendAccelerator.c