From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5ff2e8b65c65f83c1d9ac6caefd67b1e@coraid.com> From: erik quanstrom Date: Mon, 18 Dec 2006 11:01:42 -0500 To: 9fans@cse.psu.edu MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] wait hang Topicbox-Message-UUID: f64f0c7e-ead1-11e9-9d60-3106f5b1d025 the kernel fix does indeed keep ; for(i in `{seq 1 $n}){>/dev/null echo fu&} ; for(i in `{seq 1 $n}){>/dev/null echo fu&} from hanging. however, i think the fix to rc might be in error. if i do this #!/bin/rc cmd1& cmd2& wait shouldn't that wait for both processes? for example, on an older rc, from this script #/bin/rc date sleep 15 & sleep 30 & wait date i get Mon Dec 18 10:57:43 EST 2006 Mon Dec 18 10:58:13 EST 2006 whereas with the rc from friday, i get ; 8.out broken! date ; sleep 15 & sleep 30 & wait ; date Mon Dec 18 11:00:33 EST 2006 Mon Dec 18 11:00:33 EST 2006 - erik