Detecting exit/failure of child processes using IOCP - C++ - Windows -
i have process manager. might create thousands (on paper!) of child processes using createprocess function. i'm using mufti-threading , wiatformultipleobejct in order detect exit or failure of of children.
looking advice/guideline/pseud-code/link detect exit of child process using iocp if possible @ all!?
thanks lot!
yes, it's possible.
you need take @ job object api. create process, assign job , associate job completion port. see jobobject_associate_completion_port , setinformationjobobject()
Comments
Post a Comment