Mail Archives: cygwin/2001/09/18/08:46:51
uname -a: CYGWIN_NT-5.0 MACH 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown
Sigh, sad but true.
Consider this makefile which will create 50 independent targets, taking
one second elapsed for each file:
files:=$(addsuffix .t,$(foreach j,0 1 2 3 4,$(foreach i,0 1 2 3 4 5 6 7 8 9,${j}${i})))
.PHONY: test
test: ${files}
@echo test complete
.PHONY: clean
clean:
rm -f ${files}
%.t:
sleep 1
touch $@
If you run with "make -j10" this should complete in 5 seconds(-ish).
Unfortunately it invariably hangs on my machine (Dual PIII 733, Win2000)
after the second set of sleeps. Strangely, "make -j _n_" works for all
values of _n_ < 9.
Take out the sleep and it works fine.
Replace the sleep with some other dodgy delay,
a=`date`; while [ x"$$a" = x"`date`" ]; do :; done
causes it to hang for different values of _n_.
Go back to the previous version of the cygwin dll, 1.3.2-1 and it works fine.
(uname -a: CYGWIN_NT-5.0 PANG 1.3.2(0.39/3/2) 2001-05-20 23:28 i686 unknown)
Hope this helps.
--
Robert Bogomip /// mailto:bob dott bogo att milohedge.com
Milo Hedge Ltd, OCFI, Mill Street, Oxford, OX2 0JX /// tel:+44 1865 799400
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -