1

I have written a multi-threaded process which was running without any issues when it was not a daemon.

The moment I made it a daemon, all the threads stopped running, only the code in the main() function infinite loop is running.

I did a fork() and then setsid() to make it a daemon.

Need help finding the cause.

Anji M
  • 11
  • 2

0 Answers0