This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] flock change breaks autotools 'make -j2'


Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> > > I'd prefer a testcase in C.
> > 
> > So would I.  I'm not even sure whether perl was using flock or
> > lockf/fcntl.  Do you still need me to try and write a STC, or at least
> > test how perl behaves with your first patch?
> 
> I checked in a patch which hopefully solves both problems.  The lock.pl
> testcase now works, at least.  Can you test if the original scenario
> works now as well?  If not, I'd really need another testcase.

Nope; with snapshot 20090418 I'm still seeing the 'make -j2' failures.  I'll 
see if I can come up with a C program that can be run as two processes to 
simulate the failure as a simpler test case.  I did verify via strace that perl 
is using flock(fd, LOCK_EX).

-- 
Eric Blake




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]