Re: Fatal error using flock

2014-12-04 Thread Corinna Vinschen
On Dec 4 10:33, Corinna Vinschen wrote: > On Dec 3 18:25, Kyle R. wrote: > > On Dec 2 16:52, Corinna Vinshen wrote: >^^^ >oops > > > Ouch. The handle in the parent got created non-inheritable. That's > > > bad if the handle is utilize

Re: Fatal error using flock

2014-12-04 Thread Corinna Vinschen
On Dec 3 18:25, Kyle R. wrote: > On Dec 2 16:52, Corinna Vinshen wrote: ^^^ oops > > Ouch. The handle in the parent got created non-inheritable. That's > > bad if the handle is utilized in subsequent child processes which rely > > on bei

Re: Fatal error using flock

2014-12-03 Thread Kyle R.
On Dec 2 16:52, Corinna Vinshen wrote: > Ouch. The handle in the parent got created non-inheritable. That's > bad if the handle is utilized in subsequent child processes which rely > on being able to access the handle. > > I applied a patch and created a new developer snapshot on > https://cygw

Re: Fatal error using flock

2014-12-02 Thread Andrey Repin
Greetings, Corinna Vinschen! > On Dec 2 14:48, Corinna Vinschen wrote: >> On Dec 1 23:43, Kyle R. wrote: >> > I've run into a problem with flock while doing some parallel scripting >> > in bash (also seen in dash) on the latest 64-bit version of Cygwin >> > running on Windows 8.1. In the attache

Re: Fatal error using flock

2014-12-02 Thread Corinna Vinschen
On Dec 2 14:48, Corinna Vinschen wrote: > On Dec 1 23:43, Kyle R. wrote: > > I've run into a problem with flock while doing some parallel scripting > > in bash (also seen in dash) on the latest 64-bit version of Cygwin > > running on Windows 8.1. In the attached simple test case, the code > > loc

Re: Fatal error using flock

2014-12-02 Thread Corinna Vinschen
On Dec 1 23:43, Kyle R. wrote: > I've run into a problem with flock while doing some parallel scripting > in bash (also seen in dash) on the latest 64-bit version of Cygwin > running on Windows 8.1. In the attached simple test case, the code > locks and unlocks a file in a loop. After the first it

Re: Fatal error using flock

2014-12-01 Thread Andrey Repin
Greetings, Kyle R.! > I've run into a problem with flock while doing some parallel scripting > in bash (also seen in dash) on the latest 64-bit version of Cygwin > running on Windows 8.1. In the attached simple test case, the code > locks and unlocks a file in a loop. After the first iteration of

Fatal error using flock

2014-12-01 Thread Kyle R.
I've run into a problem with flock while doing some parallel scripting in bash (also seen in dash) on the latest 64-bit version of Cygwin running on Windows 8.1. In the attached simple test case, the code locks and unlocks a file in a loop. After the first iteration of the loop is completed, this e