delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/04/22:20:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=aLMJeVZRbUwK5WNp
tuWiVHIyZK8qRbi4Njk9VHZXxA48231YOF9in4TErKwo+2wuHKt103hty14Qqfb6
utpuZjaza6EAmvPGv6u3X90eCPP4TwgtI6jgO9XHjUxK7hNfkrarC8yATE2BWb+I
N4ndQYi/fgQtgGzXRUukx/8w/vA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=73wS6JJPgcFy+OdznEhJ95
T8Q4M=; b=AgaeVTNsqtv6soikmnxX0EhX1HHG5Renxhat8rwTmW72JM0GKftnIF
mQCZfQCwSJ1JgHkfZ2q9hKzja3esqwu0hkj7cg1CNDKj4n1L+EApWZqUMCVe6s+/
Ms55dLhnhFGHYEI9bN4/UwH3n2sfaU+NC3yMPEPL14YCxIhJAbmg4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*r:4.80.1
X-HELO: smtp.ht-systems.ru
Date: Tue, 5 Apr 2016 05:08:47 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <937095619.20160405050847@yandex.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: Unreliable flock
In-Reply-To: <20160404190558.GB20943@calimero.vinschen.de>
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>
MIME-Version: 1.0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019