in reply to Re^4: Sequential processing with fork.
in thread Sequential processing with fork.

Are you running your control program under a webserver? Webservers will time things out on you.

Also, is the control program running on Windows? Fork is faked on Windows.

Please state OS.

Replies are listed 'Best First'.
Re^6: Sequential processing with fork.
by Kelicula (Novice) on Jan 29, 2016 at 08:56 UTC
    Windows Server 2012 R2, but I'm not starting it via IIS it's just an icon on the desktop that I double click. I have NEVER been able to get this to work with ANY of the given examples.
      well, on windows, you don't need  use forks; as threads work on windows as does the example ikegami posted