By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,086 Members | 1,460 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,086 IT Pros & Developers. It's quick & easy.

How to implement a file lock ??

P: n/a
is there a cross-platform library or module for file locking?
or at least a win32 implementation.

i'm trying to get a lock on some file in a cgi script. ( i got my data
erased a few times :P )
--
ionel.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
[ionel]
is there a cross-platform library or module for file locking?
or at least a win32 implementation.

i'm trying to get a lock on some file in a cgi script. ( i got my data
erased a few times :P )


portalocker - Cross-platform (posix/nt) API for flock-style file locking.

http://aspn.activestate.com/ASPN/Coo...n/Recipe/65203

HTH,

--
alan kennedy
------------------------------------------------------
email alan: http://xhaus.com/contact/alan
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.