SYSV IPC implementation of fast share modes.
authorAndrew Tridgell <tridge@samba.org>
Tue, 28 Oct 1997 14:19:54 +0000 (14:19 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 28 Oct 1997 14:19:54 +0000 (14:19 +0000)
commitcc8fe0f0629eea9acc39e30d8d76d5890a5b6978
tree19dde5504adad16221642c632367e6ff926e9626
parentc63fee2b282c8b53f87e63995384602b66a805a6
SYSV IPC implementation of fast share modes.

It will try sysv IPC first, then if that fails it will try mmap(),
then after that it will try share files.

I have defined USE_SYSV_IPC for Linux, Solaris and HPUX at the
moment. Probably a lot more could have it defined. In fact, the vast
majority of systems support it. Need autoconf again :-)

It should actually be faster than the mmap() version, and doesn't need
any lock files. This means the problem of the share mem file being on
a NFS drive will be gone.
source/include/includes.h
source/include/proto.h
source/include/smb.h
source/locking/locking_shm.c
source/locking/shmem.c
source/locking/shmem_sysv.c [new file with mode: 0644]