flock on windowsnt

Jeff Kunce kuncej at mail.conservation.state.mo.us
Wed May 24 10:35:19 EDT 2000


> I want to use a function such as "flock()" on WindowsNT.
> On unix, it seems "fcntl" module is available.
> Is there any way on NT ?

I extended the posixfile file locking protocol
to work on NT. I never used it in production,
so test it well before using.

See:
    ntposixfile.py
at:
    http://starship.python.net/crew/jjkunce/python/ntposixfile.py

  --Jeff







More information about the Python-list mailing list