httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Additional serialization code
Date Tue, 08 Aug 1995 14:51:09 GMT
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")     ++

Mime
View raw message