A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-October/075001.html below:

[Python-Dev] Does Python need a file locking module (slightly higher level)?

[Python-Dev] Does Python need a file locking module (slightly higher level)? [Python-Dev] Does Python need a file locking module (slightly higher level)?Jean-Paul Calderone exarkun at divmod.com
Tue Oct 23 03:52:00 CEST 2007
On Tue, 23 Oct 2007 01:11:39 +0100, Jon Ribbens <jon+python-dev at unequivocal.co.uk> wrote:
>On Tue, Oct 23, 2007 at 12:29:35PM +1300, Greg Ewing wrote:
>> skip at pobox.com wrote:
>> > Does fcntl.flock work over NFS and SMB and on Windows?
>>
>> I don't think file locking will ever work over NFS, since
>> it's a stateless protocol by design, and locking would
>> require maintaining state on the server.
>
>You can do file locking over NFS, that's one of the reasons people
>use fcntl. It uses an RPC side channel separate to the main NFS
>protocol.

You can do it.  It just doesn't work.  (You could say the same about
regular read and write operations for many NFS implementations, though)

Jean-Paul
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4