We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7369957 commit 485c5bbCopy full SHA for 485c5bb
ext/opcache/ZendAccelerator.c
@@ -896,6 +896,10 @@ static inline void kill_all_lockers(struct flock *mem_usage_check)
896
static inline int accel_is_inactive(void)
897
{
898
#ifdef ZEND_WIN32
899
+ /* TODO: the Windows-specific code path is broken because
900
+ kill_all_lockers() is not implemented on Windows, and thus
901
+ hanging workers are never killed and restarted; not ready
902
+ for production use! */
903
if (LOCKVAL(mem_usage) == 0) {
904
return SUCCESS;
905
}
ext/opcache/config.w32
@@ -41,5 +41,6 @@ if (PHP_OPCACHE != "no") {
41
42
ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname);
43
44
+ WARNING("opcache is known to be broken on Windows");
45
46
0 commit comments