On Mon, 18 Nov 2002 22:05:34 -0800, Terry Lambert wrote:

>Use mmap of a backing-store file, and then use file locking to
>do record locking in the shared memory segment.

Ok, I did this, and it actually works considerably better than
the SysV shared memory.  However flock() has the same problem
as the SysV semaphores, where they block the entire process,
allowing the same deadlock situation to occur.  Has this flock()
behavior changed in CURRENT?  

It seems like this behavior is much more likely to change than
the SysV code.

Thanks!

Brian Smith


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to