Last change
on this file since 2811 was 2725, checked in by Bruno Cornec, 13 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
File size:
261 bytes
|
Rev | Line | |
---|
[2725] | 1 | trap "echo USR1 received" USR1
|
---|
| 2 | stub() {
|
---|
| 3 | echo "Sleeping"
|
---|
| 4 | sleep $1
|
---|
| 5 | echo "$1 sec passed, sending USR1 to parent"
|
---|
| 6 | kill -USR1 $$
|
---|
| 7 | }
|
---|
| 8 | stub 3 &
|
---|
| 9 | stub 2 &
|
---|
| 10 | sleep 1
|
---|
| 11 | until { echo "Waiting"; wait; } do
|
---|
| 12 | echo "Wait exit code: $?"
|
---|
| 13 | done
|
---|
| 14 | echo "Wait returned 0"
|
---|
Note:
See
TracBrowser
for help on using the repository browser.