in reply to Practical, efficient uses for fork()

A child may be forked to send a signal to the parent at intervals. That can provide a heartbeat for real-time scheduling, a testbench for the parent's sig handlers, or a source of random activity for a simulation. The advantage of fork() in these applications is that the signal is independent of the parent's state of execution.

After Compline,
Zaxo

  • Comment on Re: Practical, efficient uses for fork()