Anatol committed a better fix. It falls back to file-cache in case of
failure, and maps just a small portion of SHM for synchronization between
processes.
In general, extending this approach, we may map the whole SHM segment into
different address space and implement routines to find/load data from SHM
instead of files. But this is for 7.1.

Thanks. Dmitry.


On Fri, Oct 9, 2015 at 10:53 PM, Kalle Sommer Nielsen <ka...@php.net> wrote:

> 2015-10-08 10:33 GMT+02:00 Dmitry Stogov <dmi...@zend.com>:
> > few notes:
> > - are you sure SysV IPC API is available everywhere? I mean shmget()
> > in file_cache_fallback_init().
> > (I didn't know about Windows).
>
> Yes the SysV IPC API is available under Windows, because we have our
> own implementation in TSRM/, more specifically TSRM/tsrm_win32.c line
> ~591 (for shmget).
>
>
>
> --
> regards,
>
> Kalle Sommer Nielsen
> ka...@php.net
>

Reply via email to