You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 1995/08/08 16:51:09 UTC

Re: Additional serialization code

Robert S. Thau writes:
> 
> On review of this code, it's got a bit of a problem
>...
> obtained by a different open()) call, and all subsequent flock() calls
> --- in the same process or a different one --- simply verify that the
> lock is still held and return (which is very fast, but, unfortunately,
> does nothing at all about mutual exclusion).

If the lock is exclusive, then the next call to lock, if already locked,
should block until the lock is released.


-- 
Jim Jagielski  << jim@jaguNET.com >>   | "Stwike him Centuwian, vewy woughwy!"
  **  jaguNET Access Services  **      |                - Pontius Piwate
++       Email: info@jaguNET.com      +++        Voice:  410-931-3157       ++
++       http://www.jaguNET.com/      +++      Data: 931-7060 ("guest")     ++