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)
commitc9fa24b7a8809a7963f0970cf2dd21f6804e31a4
tree4bd06b65991e13b8aac3771f5d27a54b1fdb6505
parent7c20ee083f6820a4c8776cefae3e0477f79ea934
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.
(This used to be commit cc8fe0f0629eea9acc39e30d8d76d5890a5b6978)
source3/include/includes.h
source3/include/proto.h
source3/include/smb.h
source3/locking/locking_shm.c
source3/locking/shmem.c
source3/locking/shmem_sysv.c [new file with mode: 0644]