This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Unreliable flock
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>, cygwin at cygwin dot com
- Date: Tue, 5 Apr 2016 05:08:47 +0300
- Subject: Re: Unreliable flock
- Authentication-results: sourceware.org; auth=none
- References: <175808986 dot 20160403002257 at yandex dot ru> <20160404151644 dot GB29337 at calimero dot vinschen dot de> <59768064 dot 20160404195111 at yandex dot ru> <20160404190558 dot GB20943 at calimero dot vinschen dot de>
- Reply-to: cygwin at cygwin dot com
Greetings, Corinna Vinschen!
> I guess you read that
> there's a way to use Windows mandatory locks, too.
Yes, if I compile my own program. But I'm not. I'm writing a shell script.
And /usr/bin/flock fails to lock a file. Even though the man claims that it
"uses an exclusive lock by default".
--
With best regards,
Andrey Repin
Tuesday, April 5, 2016 05:06:19
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple