Search:

Type: Posts; User: JM1082

Search: Search took 0.01 seconds.

  1. No... still not quite right, but I like the way...

    No... still not quite right, but I like the way you've used the kill( pid ) thing! The messages are printing one at a time rather than very quickly, repeatedly until the process change... not far...
  2. No Salem, that's not what I want. But its good...

    No Salem, that's not what I want. But its good to see the pause & alarm are working together!
    The idea is to have the parent print line after line for 5 seconds & pause, then the child print line...
  3. So would you recommend I send the SIGALRM from...

    So would you recommend I send the SIGALRM from the handler?
  4. The program is never meant to stop, just...

    The program is never meant to stop, just continually print whichever process isn't paused! Hence infinite loops!
  5. Advice needed on correct usage of the pause() and alarm() functions...

    Hi all,

    I'm trying to write a program which will give two processes 5 seconds each to write their message to the screen.

    The problem is that the pause function isn't unpausing when the second...
Results 1 to 5 of 5