RE: Locking file in cygwin

2005-04-26 Thread Dave Korn
Original Message From: Vladislav Grinchenko Sent: 26 April 2005 14:22 While porting one of my c++ libraries to cygwin, I stumbled over this: Calling fcntl (fd, F_GETLK, ...) returns ENOSYS (function not implemented). I searched the archive and couldn't find anything appropriate

Re: Locking file in cygwin

2005-04-26 Thread Ehud Karni
On Tue, 26 Apr 2005 09:21:40 -0400, Vladislav Grinchenko wrote: In short, this happens when I try to handle PID file locking to preclude multiple instances of the same program simultaneously running on a host. If there is a more preferable way of handling this task in cygwin/win32, I