This is the mail archive of the
mailing list for the Cygwin project.
Locking file in cygwin
- From: "Vladislav Grinchenko" <vladislav dot grinchenko at comtechmobile dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 26 Apr 2005 09:21:40 -0400
- Subject: Locking file in cygwin
I am new to cygwin (and win32 programming in general), so if the answer
to my question is covered somewhere else, please point me in the right
While porting one of my c++ libraries to cygwin, I stumbled over this:
Calling fcntl (fd, F_GETLK, ...) returns ENOSYS (function not
I searched the archive and couldn't find anything appropriate to explain
In short, this happens when I try to handle PID file locking to preclude
multiple instances of the same program simultaneously running on a
If there is a more preferable way of handling this task in cygwin/win32,
I wouldn't mind implementing it.
One more thing, I don't need backward compatability if that is the case.
My target platforms are WinXP and Win2000.
Thanks in advance,
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html