Is writing to a shared memory segment an atomic operation? I am writing
an application needing to cache data from a database on an apache
webserver. I thought I'd use the shm* range of system calls, but if I
have to use semaphores too I think I have too few of them for all the
distinct data units I need to store.
It is actually a Perl-module, but it doesn't seem to be possible to
address multiple blocks in the perl mapping of the shm* calls.
This system will run on Linux2.2.
Any advice greatly appreciated.
Eivind Trondsen - SOL B?rs AS http://www.solbors.no
Tlf 22 80 79 85
Fax 22 80 79 79 Quidquid latine dictum sit,
Mob 924 14 969 altum viditur.