in reply to Re^2: Timer Question
in thread Timer Question
If it's system call, it's a call to the OS, like sysread, in which case alarm works exactly as required.
If it's "system() call", then things are different: system() forks a process, executes whatever's specified (different for single/multiple arguments), waits until the command is completed and then returns. It won't kill the spawned process, that's why it will run until the end.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Timer Question
by ikegami (Patriarch) on Feb 17, 2006 at 02:58 UTC | |
|
Re^4: Timer Question
by rudeb0y (Novice) on Feb 17, 2006 at 18:26 UTC | |
by salva (Canon) on Feb 17, 2006 at 18:42 UTC |