httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: Accept mutex in hybrid server.
Date Mon, 22 Feb 1999 16:58:31 GMT

On Fri, 19 Feb 1999, Valentin Bazavan wrote:

> fcntl allows you to lock byte ranges in a file (even a 0-length file). Thus,
> you can have your array of mutexes by locking one byte in the lock file for
> each socket. As a matter of fact, this approach should be taken also with the
> current fcntl based serialization. It would be more efficient, because there
> would be no need to open and close the lock file every time.

I must be missing how this helps 1.x (I assume that's what you mean by
"current").  We open the lock file once per server restart... 


View raw message