| 1 | 32 | ▶ | sub prefork { |
|
Subroutine
prefork: called CC=1 SCAR=0.0
| |||
| 2 | 32 | print "in sub prefork\n"; | |
| 3 | 32 | other(); | |
| 4 | } | ||
| 5 | |||
| 6 | 96 | ▶ | sub other { |
|
Subroutine
other: called CC=1 SCAR=0.0
| |||
| 7 | 96 | print "in sub other\n"; | |
| 8 | } | ||
| 9 | |||
| 10 | 32 | ▶ | sub postfork { |
|
Subroutine
postfork: called CC=1 SCAR=0.0
| |||
| 11 | 32 | print "in sub postfork\n"; | |
| 12 | 32 | other(); | |
| 13 | } | ||
| 14 | |||
| 15 | 32 | prefork(); | |
| 16 | |||
| 17 | 32 | fork; | |
| 18 | |||
| 19 | 32 | postfork(); | |
| 20 | 32 | other(); | |
| 21 | |||
| 22 | 32 | wait; | |