Two Programming Questions

Leslie Mikesell les at chinet.chi.il.us
Wed Aug 29 08:18:23 AEST 1990


In article <1990Aug27.230044.13699 at virtech.uucp> cpcahil at virtech.UUCP (Conor P. Cahill) writes:

>>just forget about using shared memory and use a real file with file
>>locking instead.  If it is being constantly accessed, it will be in
>>memory anyway.

I've considered opening a real file mapped against the shared memory
just to be able to use the file locking routines to arbitrate
access (i.e. lock the file region but access the memory segment
instead).  Does anyone know how this would work performance-wise
compared to any reasonable alternatives?

Les Mikesell
  les at chinet.chi.il.us



More information about the Comp.unix.i386 mailing list