I would like to have SIGCHLD functionality on Windows (i.e., notify the parent process when a child dies). I am aware that there is no equivalent to SIGCHLD in the Windows API, but I'd like to know what the common method is for implementing this with Windows. I'm sure that this is a problem that Windows developers encounter fairly often.
The only solution I can think of now involves polling the children to see if they are still alive.
Note: My application is single-threaded, and I would like to keep it that way if possible. The application has a non-blocking event loop (using select()).