Last change
on this file since 3325 was 3320, checked in by Bruno Cornec, 10 years ago |
- Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in
the move to 3.0
|
-
Property svn:executable
set to
*
|
File size:
261 bytes
|
Line | |
---|
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.