flock on windowsnt

Lyle Johnson jlj at cfdrc.com
Wed May 24 10:09:09 EDT 2000


There is a function _locking() which I haven't used, but which sounds
like it does the same thing as flock() under Unix. The prototype is:

	_locking(int handle, int mode, long nbytes)

Look it up in the MSDN documentation for more details. It does not
appear to have been wrapped into any of the standard Python modules (at
least not for Python 1.5.2).

tkssato at yahoo.co.jp wrote:
> 
> 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 ?
> 
> Thanks for reading this article.



More information about the Python-list mailing list