Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 21994

Detecting if a sub process finishes in C

$
0
0

Is there a way to have a part of your code running in the background in c while the main program continues and check later on in your main program that if the sub-process is still running. I have tried to implement using pthread and send pthreadkill detect if it still runs however I heard it's kind of unreliable so I wonder if there is a better way to do it.


Viewing all articles
Browse latest Browse all 21994

Trending Articles