]> git.ipfire.org Git - thirdparty/squid.git/commit - src/ipc/mem/Segment.cc
Disable Rock store and shared memory cache if shared memory is not available.
authorDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Sun, 28 Aug 2011 17:11:19 +0000 (21:11 +0400)
committerDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Sun, 28 Aug 2011 17:11:19 +0000 (21:11 +0400)
commitc975f53276eb34b4ea0e9db626d98bbd605531d5
treef3e740e8287eacc864de4cfe1016347a6fffdb7f
parent5970345929a6566d7a4f14c50a63784ea4942481
Disable Rock store and shared memory cache if shared memory is not available.

The patch adds support for building on systems without POSIX shared
memory (e.g. OpenBSD).  IpcIo DiskIO module and Rock store is not
enabled by default if shared memory support is not available.  If IpcIo
or Rock store is explicitly enabled, but no shared memory support is
available, fail with error during configure.  Fail with error at
runtime if shared memory cache is enabled but no shared memory support
is detected.
compat/Makefile.am
compat/shm.h [new file with mode: 0644]
configure.ac
src/MemStore.cc
src/ipc/mem/Segment.cc
src/ipc/mem/Segment.h