On 07/09/2015 19:45, Qian Hong wrote: > Hi, > > Attach is the simple test case I use to reproduce the valgrind warning > and random failures. > > Compile the test case in Cygwin with below command line: > $ gcc -g -O0 flock.c -o flock.exe > > Thanks! > Hi,
Erm ... slight technical hitch? Your example flock.c doesn't call fork(), nor does it use your two macros MAX_ITER & CHILDREN. -- Sam Edge -- 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